Skip to content

Commit

Permalink
Increase default figure width.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Aug 1, 2024
1 parent 62fd83b commit 12aeeed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions glue_jupyter/ipyvolume/common/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def __init__(self, *args, **kwargs):

self.figure = ipv.figure(animation_exponent=1.)
self.figure.selector = ''
self.figure.width = 600
self._figure_widget = self.figure

super(IpyvolumeBaseView, self).__init__(*args, **kwargs)

Expand All @@ -51,8 +53,6 @@ def attribute_to_label(attribute):
self.state.add_callback('visible_axes', self._update_axes_visibility)
self.state.add_callback('native_aspect', self._update_aspect)

self._figure_widget = self.figure

self.create_layout()

def _update_axes_visibility(self, *args):
Expand Down

0 comments on commit 12aeeed

Please # to comment.