Skip to content

Commit

Permalink
Fix inversion of axis when sync curves
Browse files Browse the repository at this point in the history
If "Translate Axis" was selected in Synchronize plugin, the axis was translated and ivnerted.
  • Loading branch information
riccardomarotti committed Jun 9, 2016
1 parent b6e7a81 commit 14681b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misura/client/plugin/SynchroPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def translate_axis(self, cmd, dataset, translating_curve, delta, doc):
self.toset(new_y_axis, 'MinorTicks/transparency', 30)
self.toset(new_y_axis, 'Label/italic', True)

newmax, newmin = dataset.getPlottedRange()
newmin, newmax = dataset.getPlottedRange()
# Remove Auto ranges from reference axis
self.toset(dataset, 'max', float(newmax))
self.toset(dataset, 'min', float(newmin))
Expand Down

0 comments on commit 14681b8

Please sign in to comment.