Skip to content

Commit

Permalink
Reintroduced logic to add SVG exporter to the notebook archive
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Jun 5, 2017
1 parent d6fbde3 commit fa2151c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions holoviews/ipython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ def __call__(self, *args, **params):
except:
return

# Not quite right, should be set when switching backends
if 'matplotlib' in Store.renderers and not notebook_extension._loaded:
svg_exporter = Store.renderers['matplotlib'].instance(holomap=None,fig='svg')
holoviews.archive.exporters = [svg_exporter] + holoviews.archive.exporters

p = param.ParamOverrides(self, params)
resources = self._get_resources(args, params)

Expand Down

0 comments on commit fa2151c

Please sign in to comment.