Answers for "Horizontal bar graph OO interface"

0

Horizontal bar graph OO interface

import pandas as pd
import matplotlib.pyplot as plt

top20_deathtoll = pd.read_csv('top20_deathtoll.csv')
fig, ax = plt.subplots(figsize = 4.5,6))#mobile friendly proportion
ax.barh(df['x'],
        df['y'])
plt.show()
Posted by: Guest on August-19-2021

Python Answers by Framework

Browse Popular Code Answers by Language