figure_json (string): Serialized Plotly figure as JSON string
Example Usage
import zero_true as ztimport pandas as pdimport plotly.express as px# 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)fig = px.bar(example_data, x='Country', y='Population')zt.plotlyComponent(id='plot', figure=fig)