Skip to content

Latest commit

 

History

History
 
 

chapter_17

Chapter 17

Updates

As you probably saw in Chapter 15 and Chapter 16, you'll need to add a line each time you make a chart in order to render tooltips correctly:

chart = pygal.Bar()
chart.force_uri_protocol = 'http'

Page by page updates

p. 384-385, python_repos.py

chart = pygal.Bar(style=my_style, x_label_rotation=45, show_legend=False)
chart.force_uri_protocol = 'http'

p. 387-388, bar_descriptions.py

chart = pygal.Bar(style=my_style, x_label_rotation=45, show_legend=False)
chart.force_uri_protocol = 'http'