Add source example files
This commit is contained in:
8
source/plotting/charts/plotly_bar.py
Normal file
8
source/plotting/charts/plotly_bar.py
Normal file
@ -0,0 +1,8 @@
|
||||
import pandas as pd
|
||||
from plotly.express import bar
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
df = pd.DataFrame(data={"label": ["Citron", "Pomme", "Mangue"], "price": [1.99, 3.97, 6.8]})
|
||||
plot = bar(df, x="label", y="price")
|
||||
plot.show()
|
Reference in New Issue
Block a user