DynamicGravitySystems / DGP

Dynamic Gravity Processor
http://dgp.readthedocs.io/en/develop/
Apache License 2.0
7 stars 4 forks source link

BUG: Patches placed when zoomed to not resize when plot returns to original extent. #37

Closed cbertinato closed 6 years ago

cbertinato commented 6 years ago

Rectangle height is determined by y-axis limits at the time of creation. If a plot is zoomed when a patch is created, then when the graph returns to the original extents the patches do not cover the entire y extent of the graph.

bradyzp commented 6 years ago

This issue is further complicated with issue #36 as adding/removing channels can drastically change the plots Y limit, leaving the rectangles at a fraction of the height of the re-scaled plot.

cbertinato commented 6 years ago

Addressed in PR #45, but waiting to close this issue until implementation of the second y-axis is finished.