Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
bliss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
489
Issues
489
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
129
Merge Requests
129
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bliss
bliss
Commits
47f1ebb4
Commit
47f1ebb4
authored
Feb 05, 2020
by
Valentin Valls
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the display name API to display popups
parent
1fef5c4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bliss/flint/widgets/plot_helper.py
bliss/flint/widgets/plot_helper.py
+4
-4
No files found.
bliss/flint/widgets/plot_helper.py
View file @
47f1ebb4
...
...
@@ -33,6 +33,7 @@ from silx.gui.plot.items.histogram import Histogram
from
silx.gui.plot.items.image
import
ImageData
from
bliss.flint.model
import
plot_model
from
bliss.flint.model
import
plot_item_model
from
bliss.flint.model
import
scan_model
from
bliss.flint.utils
import
signalutils
...
...
@@ -388,10 +389,9 @@ class FlintCurve(Curve, _FlintItemMixIn):
yValue
=
yy
[
index
]
plotItem
=
self
.
customItem
()
if
plotItem
is
not
None
:
assert
plotItem
.
yChannel
()
is
not
None
and
plotItem
.
xChannel
()
is
not
None
xName
=
plotItem
.
xChannel
().
displayName
(
scan
)
yName
=
plotItem
.
yChannel
().
displayName
(
scan
)
if
isinstance
(
plotItem
,
plot_item_model
.
CurveMixIn
):
xName
=
plotItem
.
displayName
(
"x"
,
scan
)
yName
=
plotItem
.
displayName
(
"y"
,
scan
)
else
:
plotItem
=
None
xName
=
"X"
...
...
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