Skip to content

Commit

Permalink
Adding button to prime for resize function
Browse files Browse the repository at this point in the history
  • Loading branch information
CyclingNinja committed Jul 3, 2024
1 parent 5a57128 commit 69e25d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glue_jupyter/common/state_widgets/viewer_histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ def __init__(self, viewer_state):
self.glue_state = viewer_state

link_glue_choices(self, viewer_state, 'x_att')

def axis_to_bins(self):
9 changes: 9 additions & 0 deletions glue_jupyter/common/state_widgets/viewer_histogram.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@
</template>
<span>cumulative</span>
</v-tooltip>

<v-tooltip bottom>
<template v-slot:activator="{ on }">
<v-btn v-on="on" small value="axis_to_bins">
<v-icon>trending_down</v-icon>
</v-btn>
</template>
<span>resize_axis</span>
</v-tooltip bottom>
</v-btn-toggle>
</div>

Expand Down

0 comments on commit 69e25d5

Please sign in to comment.