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

[Question]: access d3 instance #6254

Closed
arl opened this issue Jul 9, 2022 · 2 comments
Closed

[Question]: access d3 instance #6254

arl opened this issue Jul 9, 2022 · 2 comments

Comments

@arl
Copy link

arl commented Jul 9, 2022

Hi, i'd like to call d3.format directly for a DYI tooltip I'm placing over a plotly plot.

Where can I find the d3 global object/instance please?

@alexcjohnson
Copy link
Contributor

It’s best if you load a new copy of d3-format rather than try to use the one inside plotly.js. In v1.x we used to export d3, but in v2.x we removed that export, so that we could upgrade d3 and drop pieces we don’t use without breaking user code that depends on d3.

@arl
Copy link
Author

arl commented Jul 9, 2022

Ok thank you 👍

@arl arl closed this as completed Jul 9, 2022
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