Skip to content
Snippets Groups Projects

Change to use matplotlib's lim for zooming

Merged Lan Dam requested to merge i118_lim_for_zooming into master
All threads resolved!

closes #118 (closed)

When zooming before, downsample need to be recalculated and replot. With the reducing of data points, downsample isn't necessary anymore. SOHView now can use lim for zooming.

  • Remove set_lim in PlottingWidget's subclasses.
  • Recalculate total points for plot_time_dots, plot_multi_color_dots and plot_up_down_dots. (They were set when recreating axis before)
  • Remove the condition to handle 'ax' or 'ax_wf' are already in c_data in SOHWidget and WaveformWidget. This case only takes place when a channel is replotted.
Edited by Lan Dam

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Kien Le
  • Lan Dam added 1 commit

    added 1 commit

    • 9aa2310d - checking for key ax in plotting_data1's channel and remove artist only...

    Compare with previous version

  • Lan Dam added 3 commits

    added 3 commits

    • f5053b94 - change x0 to x_bottom, x_1 to x_top to be more descriptive
    • 5815b0ce - fix typo in variable names
    • 03bdd92c - add docstring to explain top and bottom labels for data points

    Compare with previous version

  • Lan Dam added 1 commit

    added 1 commit

    • 50967518 - remove checking for ax_wf in WaveforWidget.plot_single_channel() because...

    Compare with previous version

  • Lan Dam changed the description

    changed the description

  • Kien Le resolved all threads

    resolved all threads

  • Kien Le approved this merge request

    approved this merge request

  • Lan Dam mentioned in commit 8c498265

    mentioned in commit 8c498265

  • merged

  • Lan Dam changed the description

    changed the description

  • Please register or sign in to reply
    Loading