- fixed Measuring Tool in legacy graphic engine

- fixed Gerber plotting
- fixed Geometry plotting
This commit is contained in:
Marius Stanciu
2019-09-21 13:07:30 +03:00
committed by Marius
parent 01e2755676
commit 9aef293a26
5 changed files with 130 additions and 43 deletions

View File

@@ -366,6 +366,9 @@ class PlotCanvasLegacy(QtCore.QObject):
ymin, ymax = self.axes.get_ylim()
self.adjust_axes(xmin, ymin, xmax, ymax)
def fit_view(self):
self.auto_adjust_axes()
def zoom(self, factor, center=None):
"""
Zooms the plot by factor around a given