Skip to content

Commit

Permalink
show markers in legend only once
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias47n9e committed May 17, 2015
1 parent 599a805 commit 546cfc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion innstereo/main_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,8 @@ def iterate_over_rows(model, path, itr):
newHandles.append(handle)
if len(handles) is not 0:
self.ax_stereo.legend(newHandles, newLabels,
bbox_to_anchor=(1.5, 1.1), borderpad=1)
bbox_to_anchor=(1.5, 1.1), borderpad=1,
numpoints=1)
self.canvas.draw()

def on_toolbutton_create_group_layer_clicked(self, widget):
Expand Down

0 comments on commit 546cfc9

Please sign in to comment.