Commit f19df05b authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Allow AxisItem.setScale(None) to retain API backward compatibility.

parent 03fd45c2
......@@ -293,6 +293,11 @@ class AxisItem(GraphicsWidget):
the view coordinate system were scaled. By default, the axis scaling is
# Deprecated usage, kept for backward compatibility
if scale is None:
scale = 1.0
if scale != self.scale:
self.scale = scale
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment