Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
11
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
b82e8b34
Commit
b82e8b34
authored
1 year ago
by
Lan Dam
Browse files
Options
Downloads
Patches
Plain Diff
correct function name
parent
40cfedcd
No related branches found
No related tags found
1 merge request
!175
correct the way to identify colors for mass pos
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/view/plotting/plotting_widget/plotting.py
+2
-2
2 additions, 2 deletions
sohstationviewer/view/plotting/plotting_widget/plotting.py
with
2 additions
and
2 deletions
sohstationviewer/view/plotting/plotting_widget/plotting.py
+
2
−
2
View file @
b82e8b34
...
...
@@ -6,7 +6,7 @@ from sohstationviewer.controller.plotting_data import get_masspos_value_colors
from
sohstationviewer.view.util.color
import
clr
from
sohstationviewer.view.plotting.plotting_widget.plotting_helper
import
(
get_colors_for_abs_y_from_value_colors
get_colors_
sizes_
for_abs_y_from_value_colors
)
from
sohstationviewer.conf
import
constants
...
...
@@ -386,7 +386,7 @@ class Plotting:
color
=
self
.
parent
.
display_color
[
'
sub_basic
'
],
picker
=
True
,
pickradius
=
3
,
zorder
=
constants
.
Z_ORDER
[
'
LINE
'
])[
0
]
colors
,
sizes
=
get_colors_for_abs_y_from_value_colors
(
colors
,
sizes
=
get_colors_
sizes_
for_abs_y_from_value_colors
(
y
,
value_colors
)
ax
.
scatter
(
x
,
y
,
marker
=
'
s
'
,
c
=
colors
,
s
=
sizes
,
zorder
=
constants
.
Z_ORDER
[
'
DOT
'
])
...
...
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