Skip to content

Commit

Permalink
Ensure renderer params are restored by OutputMagic
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 12, 2017
1 parent 1285b99 commit a21165b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions holoviews/ipython/magics.py
Expand Up @@ -346,6 +346,9 @@ def output(self, line, cell=None):

restore_copy = OrderedDict(OutputMagic.options.items())
prev_backend = Store.current_backend
renderer = Store.renderers[prev_backend]
restore_copy.update([(k, v) for k, v in renderer.get_param_values()
if k in self.render_params])
try:
options = OrderedDict([(k, v) for k, v in OutputMagic.options.items()
if k in self.remembered])
Expand Down

0 comments on commit a21165b

Please sign in to comment.