Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Server maintenance on Tue 31.5. at 12:00.
Open sidebar
Timo Heikkilä
PET-rating
Commits
54c8f4d7
Commit
54c8f4d7
authored
Jul 22, 2019
by
Ossi Laine
Browse files
Use different backend for matplotlib to evade problems importing tkinter
parent
d2274f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
embody_plot.py
View file @
54c8f4d7
...
...
@@ -30,6 +30,10 @@ import argparse
import
numpy
as
np
import
scipy.ndimage
as
ndimage
import
matplotlib
matplotlib
.
use
(
'agg'
)
import
matplotlib.pyplot
as
plt
import
matplotlib.image
as
mpimg
from
matplotlib.backends.backend_agg
import
FigureCanvasAgg
as
FigureCanvas
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment