Article From:https://segmentfault.com/q/1010000011702483
Question:

When I was learning charts, I tried to crawl the site fiction score data on jupyter, charts to draw a chart, the code can run normally without error, but no chart generation, may I ask where the problem is?


The code is as follows

series = []
for i in categories:
    series.append(
    {
        'name' : i,
        'data' : [collection[i][1]/collection[i][0]],
        'type' : 'column'
    })
for i in series:
    print(i)
options = {
    "title":{"text":"average scores"},
    "subtitle":{"text":"made by Luxiaowuu"}
}
charts.plot(series=series,options=options,show="inline")

The results are as follows:

Answer 0:

Remove the show= “inline” and draw a chart in the new window.

Leave a Reply

Your email address will not be published. Required fields are marked *