Skip to content

Is it possible to add a colorbar? #65

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

Closed
solarjoe opened this issue Feb 22, 2022 · 5 comments
Closed

Is it possible to add a colorbar? #65

solarjoe opened this issue Feb 22, 2022 · 5 comments

Comments

@solarjoe
Copy link

Is there a build-in way in dash-vtk to add a colorbar, e.g. to a PointCloudRepresentation?

I could not find anything anything about this, except this workaround where a colorbar is added using an empty `plotly go.Figure()' and someone asking for it in the Plotly forum.

@jourdain
Copy link
Contributor

Ideally PointCloudRepresentation should expose the same properties as the default GeometryRepresentation.

That seems to be the case in react-vtk-js but dash-vtk was not updated to reflect it.

Otherwise someone with the current version could do what we do inside PointCloudRepresentation but using dash-vtk directly.

@solarjoe
Copy link
Author

I just saw that someone already opened a PR for this feature.
#61

@jourdain
Copy link
Contributor

well the PointCloudRepresentation would have to follow the same path of exposing those properties.

@solarjoe
Copy link
Author

But the PR does that, right?

@jourdain
Copy link
Contributor

No, the PR, just expose those props in GeometryRepresentation not in PointCloudRepresentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants