-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/color bar #121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Feat/color bar #121
Conversation
…e separate scalar range RPCs.
rescale x value
| self.mesh_polyhedra_attribute_vertex_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_polyhedra_attribute_polyhedron_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_polygons_attribute_vertex_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_polygons_attribute_polygon_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_points_attribute_vertex_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_edges_attribute_vertex_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_cells_attribute_vertex_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| self.mesh_cells_attribute_cell_prefix, | ||
| ) | ||
| params = schemas.ColorMap.from_dict(rpc_params) | ||
| self.setupColorMap(params.id, params.points, params.minimum, params.maximum) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Argument 2 to "setupColorMap" of "VtkMeshView" has incompatible type "list[float]"; expected "list[list[float]]" [arg-type]
| x_values = points[::4] | ||
| x_min = min(x_values) | ||
| x_max = max(x_values) | ||
| x_range = x_max - x_min |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [mypy] reported by reviewdog 🐶
Unsupported left operand type for - ("list[float]") [operator]
No description provided.