-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Widgets update syntax #177
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
Conversation
make docstream copy pasteable; fix parentheses
Though these requirements are unecessary for Python versions after 2.6, they’re small, harmless libs to import. They ended up being included in stdlib anyways.
Add strict requirements for python 2.6. (more)
All of our messages seem to be being sent twice! Not sure where that’s coming from. This is a temporary fix that synced with the new frontend postMessage hopefully we can revert this.
Note, this is merging into the |
Now each `graph` remembers the domain it was created with.
Conflicts: plotly/widgets/graph_widget.py
@chriddyp , the new syntax is on prod now. You'll need to merge in these changes to the widgets branch for your stuff to work (feel free to do so!) Note, the syntax changed a bit, see here for new variable names: https://github.com/plotly/streambed/blob/master/shelly/embedplot/static/embedplot/main.js#L313-341 And see take a peek in graph_widget.py as well. |
@chriddyp , this is the new (perhaps still-in-flux) syntax for postMessage.
I also include a fix for doubly sent messages to the iframe. Not sure where that was coming from, but this is a cheap fix that got me to where i needed to be with testing functionality.