Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to see graph on macOS Monterey #21

Open
tushar-nitave opened this issue Nov 11, 2022 · 0 comments
Open

Not able to see graph on macOS Monterey #21

tushar-nitave opened this issue Nov 11, 2022 · 0 comments

Comments

@tushar-nitave
Copy link

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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant