Objects produced by renderer.get_plot do not display in the notebook
See original GitHub issueSince holoviews 1.9.10, this code
import holoviews as hv
hv.extension("bokeh")
renderer = hv.renderer("bokeh")
curve = hv.Curve(range(10))
curve_plot = renderer.get_plot(curve)
curve_plot
yields a text output instead of the proper figure:
CurvePlot(apply_extents=True, apply_ranges=True, bgcolor=None, border=10, default_tools=[‘save’, ‘pan’, ‘wheel_zoom’, ‘box_zoom’, ‘reset’], finalize_hooks=[], fontsize={‘title’: ‘12pt’}, gridstyle={}, height=300, interpolation=‘linear’, invert_axes=False, invert_xaxis=False, invert_yaxis=False, labelled=[‘x’, ‘y’], lod={‘factor’: 10, ‘interval’: 300, ‘threshold’: 2000, ‘timeout’: 500}, logx=False, logy=False, name=‘CurvePlot01090’, normalize=True, projection=None, shared_axes=True, shared_datasource=True, show_frame=True, show_grid=False, show_legend=True, show_title=True, sizing_mode=‘fixed’, title_format=‘{label} {group} {dimensions}’, toolbar=‘right’, tools=[], width=300, xaxis=‘bottom’, xrotation=None, xticks=None, yaxis=‘left’, yrotation=None, yticks=None)
It seems to work neither with matplotlib backend nor with other types of figures.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top GitHub Comments
Usage would be as follows:
The change to allow the display function to display plots is now merged so I’ll close this.