Skip to content

Commit

Permalink
Use plt.figure to create complete figure object
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Sep 19, 2017
1 parent 1514a2b commit 960c7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skan/gui.py
Expand Up @@ -216,7 +216,7 @@ async def run(self):
if self.preview_skeleton_plots.get():
self.make_figure_window()
elif self.save_skeleton_plots.get():
self.figure = Figure(figsize=(12, 9), dpi=300)
self.figure = plt.figure(figsize=(12, 9), dpi=300)
ax0 = self.figure.add_subplot(221)
axes = [self.figure.add_subplot(220 + i, sharex=ax0, sharey=ax0)
for i in range(2, 5)]
Expand Down

0 comments on commit 960c7a0

Please sign in to comment.