Skip to content
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

Scatter trace #224

Closed
wangjiawen2013 opened this issue Aug 13, 2024 · 2 comments
Closed

Scatter trace #224

wangjiawen2013 opened this issue Aug 13, 2024 · 2 comments
Assignees

Comments

@wangjiawen2013
Copy link

wangjiawen2013 commented Aug 13, 2024

Hi,
All the scatter plot in the examples need the trace trait, which is not used now. So the the following error will occur, and the error message is meaningless:
image

We need use plotly::{Plot, Scatter, Trace} instead of use plotly::{Plot, Scatter}. Because other plots such as heatmap, contour don't need the Trace trait, how to fix it ?

@andrei-ng
Copy link
Collaborator

Thanks for the report, I will have a look and come back to you.

@andrei-ng andrei-ng self-assigned this Aug 26, 2024
@andrei-ng
Copy link
Collaborator

andrei-ng commented Nov 8, 2024

I can't reproduce on main. I can compile and run all the Scatter3D examples in examples/3d_charts/src/main.rs without any errors and warnings.

Also, please provide the example as inline code and the error as text and not as a screenshot. It makes difficult to search the codebase for key words.

Feel free to reopen if you encounter the issue again and provide the example you are using.

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