Skip to content
Snippets Groups Projects
Commit b82e8b34 authored by Lan Dam's avatar Lan Dam
Browse files

correct function name

parent 40cfedcd
No related branches found
No related tags found
1 merge request!175correct the way to identify colors for mass pos
......@@ -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'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment