Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
util
sequencer
scan-p-gun-vgrid
Commits
78ae95c0
Commit
78ae95c0
authored
May 26, 2022
by
Francesco Tripaldi
Browse files
fix matplotlib headless
parent
14677c11
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ScanPGunVgrid.py
View file @
78ae95c0
...
...
@@ -21,9 +21,11 @@ import sys, os
import
time
import
numpy
as
np
import
io
import
matplotlib.pyplot
as
plt
import
requests
import
matplotlib
import
requests
matplotlib
.
use
(
'Agg'
)
import
matplotlib.pyplot
as
plt
def
fig2elog
(
fig
,
text
):
buf
=
io
.
BytesIO
()
...
...
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