-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Config options for offline plots #399
Comments
👍 very relevant for offline plotting. |
I would like to hide the top plotly toolbar in my plotly offline plots (python). I see this is done with a 'config' option in other versions of the plotly library. How can I do this in plotly offline for python? I am using this function in offline.py to make my plots:
|
Same issue here - the config options for the modebar available in plotly.js aren't implemented in plotly.py https://plot.ly/javascript/configuration-options/ but I have a workaround here that may help the developers to integrate these options: http://stackoverflow.com/questions/36554705/adding-config-modes-to-plotly-py-offline-modebar |
@yankev will this be merged into master? |
This seems to have broken offline mode, which is still expecting the old argument signature for plotly.py/plotly/offline/offline.py Lines 311 to 313 in 4420d79
Compared to plotly.py/plotly/offline/offline.py Lines 163 to 164 in 4420d79
In this PR, I think line 311 should have been changed to:
Without this, even the most basic usage fails. |
Hi, I'm trying to use plotly with django and found this help: https://stackoverflow.com/questions/35092571/how-to-create-charts-with-plotly-on-django Do you know if this has already been solved in a different version? thanks |
all config options are now supported in |
Is there a way to hide links when using cufflinks? Cufflinks iplot does not config as a parameter. |
Hi @bluprince13, I don't know offhand, that would be something to bring up with the cufflinks project (https://github.com/santosjorge/cufflinks) |
There is no way to set the 4th parameter in plotly.js when using offline plots as it is hardcoded in
_plot_html
(https://github.com/plotly/plotly.py/blob/master/plotly/offline/offline.py#L100)The text was updated successfully, but these errors were encountered: