Skip to content

Commit

Permalink
Merge pull request #2200 from jerneju/gh-2187-scatterplot-leftmargin
Browse files Browse the repository at this point in the history
[FIX] Scatter Plot: left margin (axis y) is now adapting
  • Loading branch information
lanzagar authored Apr 10, 2017
2 parents d390334 + 6d3facc commit 00d302e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Orange/widgets/visualize/owscatterplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ def update_regression_line(self):
self.update_graph(reset_view=False)

def update_graph(self, reset_view=True, **_):
axis = self.graph.plot_widget.getAxis("left")
axis.textWidth = 0
self.graph.zoomStack = []
if self.graph.data is None:
return
Expand Down

0 comments on commit 00d302e

Please sign in to comment.