Not clear exactly how to use free for python locally / self-hosted in iPython Notebooks

We would like to use in Jupyter (iPython Notebooks) to generate inline charts in the notebooks. I’ve read this page:

but am not clear on exactly how to do this. Our data is sensitive corporate data and we don’t want the charts appearing on the site. My understanding is that “self-hosted” means the charts won’t be generated and displayed on

Can anyone provide a simple hello-world code snippet that demonstrates this?

Thank you!