raceplotly icon indicating copy to clipboard operation
raceplotly copied to clipboard

Not able to see graph on macOS Monterey

Open tushar-nitave opened this issue 2 years ago • 0 comments

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()

tushar-nitave avatar Nov 11 '22 04:11 tushar-nitave