arnoutaertgeerts / python-highcharts

Use highchart.js to make plots in Python and IPython notebooks
http://nbviewer.ipython.org/github/arnoutaertgeerts/python-highcharts/blob/master/Tutorial.ipynb
Other
134 stars 31 forks source link

(possible) Issue with Pie Charts rendering: stock=True #42

Open Kentoseth opened 9 years ago

Kentoseth commented 9 years ago

When trying to output a Pie Chart, I thought my issue might be that I need the data in the format of:

x / 100

So I converted my Pandas Series to be x / 100 , but there was still another issue that I could not detect.

Then I started tinkering with the commands in this line:

charts.plot(myplot1, options=options, show='inline', stock=True, type='pie')

and had to change it to:

charts.plot(myplot1, options=options, show='inline', stock=False, type='pie')

Then the Pie Chart rendered. I'm not sure where the issue is (or if it is indeed an issue), but this is how I fixed it.