Hello Robert,

In the section “application”, I talked about how you need IPython to import HTML. This is used to allow Pygal to display SVGs within Jupyter.

Make sure you have IPython.display working correctly and have the code snippet starting with

from IPython.display import HTML….

Is written before your run the bar chart print cell.

Hope that helps.

Written by

Ph.D. student working on Quantum Computing. Traveler, writing lover, science enthusiast, and CS instructor. Get in touch with me bit.ly/2CvFAw6

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store