Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-spectrometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech
python-spectrometer
Commits
3380242f
Verified
Commit
3380242f
authored
6 months ago
by
Tobias Hangleiter
Browse files
Options
Downloads
Patches
Plain Diff
clarify condition
parent
a82bc092
No related branches found
No related tags found
1 merge request
!60
Improve responsiveness during acquisition
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python_spectrometer/_plot_manager.py
+1
-1
1 addition, 1 deletion
src/python_spectrometer/_plot_manager.py
with
1 addition
and
1 deletion
src/python_spectrometer/_plot_manager.py
+
1
−
1
View file @
3380242f
...
@@ -154,7 +154,7 @@ class PlotManager:
...
@@ -154,7 +154,7 @@ class PlotManager:
@property
@property
def
shown
(
self
)
->
Tuple
[
Tuple
[
int
,
str
],
...]:
def
shown
(
self
)
->
Tuple
[
Tuple
[
int
,
str
],
...]:
return
tuple
(
key
for
key
,
val
in
self
.
lines
.
items
()
return
tuple
(
key
for
key
,
val
in
self
.
lines
.
items
()
if
not
val
[
'
main
'
][
'
processed
'
][
'
hidden
'
])
if
val
[
'
main
'
][
'
processed
'
][
'
hidden
'
]
is
False
)
@property
@property
def
lines_to_draw
(
self
)
->
Tuple
[
str
,
...]:
def
lines_to_draw
(
self
)
->
Tuple
[
str
,
...]:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment