I have been playing with Holoview, which may be a good system for graphing 
and plotting,  as a replacement fro pyplot.  It uses more declarative and 
less procedural progamming, which is usually a good thing.  It already 
integrates with Jupyter Notebook, and so I decided to see if the 
ViewRendered  can display HoloView graphics in an @jupyter node.

It turns out that this works, if you pay attention to one thing.  Holoview 
can be set up to use either Bokeh or Matplotlib for behind-the-scenes 
drawing.  You have to set it to use Matplotlib.  Typically you do this at 
import time:

import holoviews as hvimport holoviews.utilhv.extension('matplotlib') # Don't 
use 'bokeh' or any other backend name.


Then run the code in Jupyter Notebook.  Let it finish and display the graphic, 
then save the notebook.  At this point, ViewRendered  will be able to show the 
graphic in the @jupyter node.




-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to