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

How to add shapes? #49

Open
cwiese opened this issue Aug 11, 2022 · 3 comments
Open

How to add shapes? #49

cwiese opened this issue Aug 11, 2022 · 3 comments

Comments

@cwiese
Copy link

cwiese commented Aug 11, 2022

Layout should allow for shapes. I do not see that in PlotLayout. I did not want to switch back to PlotlyBase since I am using the event forwarding.

@AbhimanyuAryan
Copy link
Member

Can you explain what you mean by "Event forwarding"?

@cwiese
Copy link
Author

cwiese commented Aug 24, 2022

I need click for drill downs.

I am testing whether the new watchplots() / Sync events works with PlotlyBase instead or StipplePlotly. If it does why would we use StipplePlotly - with concrete types you will he always chasing new attributes adding to PlotlyBase.

@hhaensel
Copy link
Member

hhaensel commented Oct 7, 2024

  • PlotlyBase can handle unknown attributes, that's its big advantage over our own (now legacy) API.
  • PlotlyBase does work with event forwarding.
julia> Plot(scatter(xx = 9)).data
1-element Vector{GenericTrace{Dict{Symbol, Any}}}:
 GenericTrace{Dict{Symbol, Any}}(Dict{Symbol, Any}(:xx => 9, :type => "scatter"))

Just today I upgraded StipplePlotly to use the latest plotly version. It's not yet registered, but can be added o the project by

pkg> add StipplePlotly#main

Event forwarding is broken in the latest official release, so expect registration rather soon.

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

3 participants