Skip to content

Commit

Permalink
Merge 8b1ed97 into a1b1853
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Oct 16, 2018
2 parents a1b1853 + 8b1ed97 commit 8772c57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skan/gui.py
Expand Up @@ -7,7 +7,7 @@
matplotlib.use('TkAgg')
from matplotlib.figure import Figure
from matplotlib.backends.backend_tkagg import (FigureCanvasTkAgg,
NavigationToolbar2TkAgg)
NavigationToolbar2Tk)
import matplotlib.pyplot as plt
import tkinter as tk
import tkinter.filedialog
Expand Down Expand Up @@ -190,7 +190,7 @@ def make_figure_window(self):
canvas = FigureCanvasTkAgg(self.figure, master=self.figure_window)
canvas.show()
canvas.get_tk_widget().pack(side=tk.TOP, fill=tk.BOTH, expand=1)
toolbar = NavigationToolbar2TkAgg(canvas, self.figure_window)
toolbar = NavigationToolbar2Tk(canvas, self.figure_window)
toolbar.update()
canvas._tkcanvas.pack(side=tk.TOP, fill=tk.BOTH, expand=1)

Expand Down

0 comments on commit 8772c57

Please sign in to comment.