OK, I set up a virtual environment, and installed packages in this order: matplotlib bokeh leo holoviews The program worked as expected. But I see that the code I posted above was missing one line. It didn't affect you, based on your error message. Here is the program as it worked for me a few minutes ago: @language python # Following https://github.com/pyviz/holoviews/issues/1819 for how to plot # without using ipython/Jupyter import holoviews as hv import holoviews.util #hv.extension('bokeh') hv.extension('matplotlib') #from bokeh.io import save #from bokeh.io import show xs = range(-10,11) ys = [100-el**2 for el in xs] curve = hv.Curve((xs, ys)) #renderer = hv.renderer('bokeh') renderer = hv.renderer('matplotlib') plot = renderer.get_plot(curve).state #show(plot) hv.save(curve, 'curve.png') @language rest Here is the resulting graph: .. image:: curve.png *NOTE* that there is a package named "hv" and this is *NOT* the same as the one we want here, which is "holoviews". -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/de776066-33a3-4e55-8384-2942a73ce321%40googlegroups.com.