-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
import pandas as pd
from raceplotly.plots import barplot
This doesn't show the graph
my_raceplot.plot(item_label='Top` 10 crops',
value_label='Production quantity (tonnes)',
time_label='Year: ', ## overwrites default `Date: `
frame_duration=800)
data = pd.read_csv('https://raw.githubusercontent.com/lc5415/raceplotly/main/example/FAOSTAT_data.csv')
my_raceplot = barplot(data, item_column='Item', value_column='Value', time_column='Year')
my_raceplot.plot(item_label='Top` 10 crops',
value_label='Production quantity (tonnes)',
time_label='Year: ', ## overwrites default `Date: `
frame_duration=800)
This works
my_raceplot.plot(item_label='Top` 10 crops',
value_label='Production quantity (tonnes)',
time_label='Year: ', ## overwrites default `Date: `
frame_duration=800)
data = pd.read_csv('https://raw.githubusercontent.com/lc5415/raceplotly/main/example/FAOSTAT_data.csv')
my_raceplot = barplot(data, item_column='Item', value_column='Value', time_column='Year')
fig = my_raceplot.plot(item_label='Top` 10 crops',
value_label='Production quantity (tonnes)',
time_label='Year: ', ## overwrites default `Date: `
frame_duration=800)
fig.show()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels