Skip to content

Commit

Permalink
Merge 803d536 into c7852c4
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 13, 2020
2 parents c7852c4 + 803d536 commit e7ec7fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions examples/gallery/demos/bokeh/lesmis_example.ipynb
Expand Up @@ -78,10 +78,9 @@
"\n",
"combined = hv.Overlay([o.opts(cmap=cm).sort() for o, cm in zip(overlaid, cmaps)], label='LesMis Occurences')\n",
"styled = combined.opts(\n",
" opts.HeatMap(logz=True, clipping_colors={'NaN':(1,1,1,0.)},\n",
" xaxis='top', xrotation=90,\n",
" opts.HeatMap(logz=True, clim=(0.1, None), clipping_colors={'NaN':(1,1,1,0.)}, xaxis='top', xrotation=90,\n",
" fontsize={'ticks': '7pt', 'title': '18pt'}, invert_xaxis=True, tools=['hover'],\n",
" labelled=[],),\n",
" labelled=[], axiswise=True),\n",
" opts.Overlay(height=800, width=800)\n",
")\n",
"styled"
Expand Down
4 changes: 3 additions & 1 deletion holoviews/plotting/plotly/renderer.py
Expand Up @@ -157,8 +157,10 @@ def load_nb(cls, inline=True):
"""
Loads the plotly notebook resources.
"""
import panel.models.plotly # noqa
import panel.models.plotly # noqa
cls._loaded = True
if 'plotly' not in getattr(pn.extension, '_loaded_extensions', ['plotly']):
pn.extension._loaded_extensions.append('plotly')


def _activate_plotly_backend(renderer):
Expand Down

0 comments on commit e7ec7fd

Please sign in to comment.