diff --git a/glue_jupyter/common/state_widgets/viewer_histogram.py b/glue_jupyter/common/state_widgets/viewer_histogram.py
index 9eff4583..8a021068 100644
--- a/glue_jupyter/common/state_widgets/viewer_histogram.py
+++ b/glue_jupyter/common/state_widgets/viewer_histogram.py
@@ -3,6 +3,7 @@
from ...state_traitlets_helpers import GlueState
from ...vuetify_helpers import link_glue_choices
+
__all__ = ['HistogramViewerStateWidget']
@@ -18,3 +19,6 @@ def __init__(self, viewer_state):
self.glue_state = viewer_state
link_glue_choices(self, viewer_state, 'x_att')
+
+ def vue_bins_to_axis(self, *args):
+ self.glue_state.update_bins_to_view()
diff --git a/glue_jupyter/common/state_widgets/viewer_histogram.vue b/glue_jupyter/common/state_widgets/viewer_histogram.vue
index 1c434dd5..b021300e 100644
--- a/glue_jupyter/common/state_widgets/viewer_histogram.vue
+++ b/glue_jupyter/common/state_widgets/viewer_histogram.vue
@@ -4,28 +4,38 @@