Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
bliss
Commits
86306d32
Commit
86306d32
authored
Jun 11, 2021
by
Valentin Valls
Browse files
Fix EBV plot using the new API
parent
352cf139
Changes
1
Hide whitespace changes
Inline
Side-by-side
bliss/flint/client/live_plots.py
View file @
86306d32
...
...
@@ -64,9 +64,9 @@ class LiveImagePlot:
def
create_plot
(
self
,
data
):
flint
=
proxy
.
get_flint
()
self
.
fig
=
flint
.
add_plot
(
plots
.
Image
Plot
,
name
=
self
.
_name
,
selected
=
True
,
closeable
=
True
plots
.
Image
View
,
name
=
self
.
_name
,
selected
=
True
,
closeable
=
True
)
self
.
fig
.
plot
(
data
=
data
)
self
.
fig
.
set_
data
(
data
)
def
is_plot_active
(
self
):
return
self
.
fig
is
not
None
and
self
.
fig
.
is_open
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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