Skip to content

Commit

Permalink
Merge pull request #150 from jpgill86/show-auto-scale
Browse files Browse the repository at this point in the history
Enable display of the auto scale button
  • Loading branch information
jpgill86 committed Dec 13, 2019
2 parents d39e070 + 6837ab1 commit 24c796b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion neurotic/gui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def create_ephyviewer_window(self, theme='light', support_increased_line_width=F
# create a window that will be populated with viewers
win = ephyviewer.MainViewer(
# settings_name='test2', # remember settings (e.g. xsize) between sessions
show_auto_scale = False,
show_auto_scale = True,
global_xsize_zoom = True,
play_interval = 0.1, # refresh period in seconds
show_label_datetime = show_label_datetime,
Expand Down Expand Up @@ -352,6 +352,7 @@ def create_ephyviewer_window(self, theme='light', support_increased_line_width=F

win.add_view(trace_view)

trace_view.params['auto_scale_factor'] = 0.02
trace_view.params['scatter_size'] = 5
trace_view.params['line_width'] = line_width
trace_view.params['display_labels'] = True
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# av # required but typically not installable via pip, try `conda install -c conda-forge av`
ephyviewer>=1.2.0
ephyviewer>=1.2.1
neo>=0.7.2
numpy
packaging
Expand Down

0 comments on commit 24c796b

Please sign in to comment.