-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
displayModeBar = false #185
Comments
Hi @akubisch thanks for reaching out -- glad you are liking the package! I actually haven't hooked this up yet, but would be very happy to accept a pull request that implements this. I could provide some pointers on where/how to get started. Would you be interested in contributing a pull request with this feature? See also #108 |
Hi @sglyon, Thanks for the swift response! I would surely be interested in contributing a pull request, it just depends a bit on the potential load of work associated with it ;-) If you could give me some hints I could have a look at it. Also - before opening a new issue: is there an easy way to change the locale of date axes? |
For locale, I think you can set I think one way we could implement this in a few steps: 1 Add an additional field on the struct SyncPlot{TD<:AbstractPlotlyDisplay}
plot::Plot
view::TD
config::PlotlyBase.PlotlyAttribute
end 2 Have the function plot(args...; config::PlotlyBase.PlotlyAttribute=attr(showLink=false), kwargs...)
SyncPlot(Plot(args...; kwargs...), config)
end 3 Have the function SyncPlot(p::Plot, config::PlotlyBase.PlotlyAttribute=attr())
SyncPlot(p, DEFAULT_DISPLAY[](p), config)
end 4 Find all places where we call the javascript function This includes
When we are doing step 4 from above, I think we might want to make sure that Hopefully that makes some sense. If not, please tell me! |
It very much does and I think I should be able to handle that :-) I will try to take care of it over the weekend, but cannot promise it'll work out. |
No rush! Whenever you can get it to will be great |
included in #208 |
For now, please use the master branch ] # enter pkg mode
(v1.0) pkg> checkout PlotlyJS If you want save figures you can do
If this doesn't resolve your issue here, please reopen the issue and leave a comment describing what went wrong |
Hi,
I am happily using this great package! Yet, I was just wondering, how it is possible to hide the mode bar using plotlyJS.jl!? I know it is possible (see here). But what is the correct position for this argument?
Thanks a lot in advance!
The text was updated successfully, but these errors were encountered: