src (string): Source URL of the image of the graph
alt (string): Alternative text for the graph image
width (integer | string): Width of the graph
height (integer | string): Height of the graph
Example Usage
import zero_true as ztimport pandas as pdimport matplotlib.pyplot as plt# Some sample data pulled from Wikipediatable_MN = pd.read_html('https://en.wikipedia.org/wiki/Minnesota')example_data = table_MN[6]example_data['Country']= example_data['Country'].str.replace(r"\[.*\]","", regex=True)plt.clf()plt.bar(example_data["Country"], example_data["Population"])plt.xlabel("Country")plt.ylabel("Values")plt.xticks(rotation=90)plt.subplots_adjust(bottom=0.3)zt.matplotlib(id='plot', figure=plt.gcf(), width=200, height=600)