You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a matplotlib chart is created in Python REPL, the .show() function displays the figure in nice, small window. The GUI of the app looks like this:
It would be nice to provide a similar user experience if one calls the .show() method of a Plotly figure in a Swift REPL. Current implementation shows a HTML document in a browser window. This gets us 80% of the features for a very little development cost but it's still worth looking at other options.
Replacing the browser with a stand-alone app with an embedded browser view give us more flexibility and the possibility to develop features custom tailored to plotting:
Natural export to different formats (i.e. PNG, PDF, HTML, JSON, ...) via File -> Save As... or a share button.
Plotly modebar that is normally part of the figure and looks like this:
Can be moved to native toolbar similar to this:
We could display a sidebar that shows the JSON representation of the Figure.
The text was updated successfully, but these errors were encountered:
When a matplotlib chart is created in Python REPL, the
.show()
function displays the figure in nice, small window. The GUI of the app looks like this:It would be nice to provide a similar user experience if one calls the
.show()
method of a Plotly figure in a Swift REPL. Current implementation shows a HTML document in a browser window. This gets us 80% of the features for a very little development cost but it's still worth looking at other options.Replacing the browser with a stand-alone app with an embedded browser view give us more flexibility and the possibility to develop features custom tailored to plotting:
Natural export to different formats (i.e. PNG, PDF, HTML, JSON, ...) via
File
->Save As...
or a share button.Plotly modebar that is normally part of the figure and looks like this:
![Modebar](https://camo.githubusercontent.com/30c5f0e9f8d0e7966a2c7fdc7c1d5697ac60c392d7fdc8236b8e8ef7f7657870/68747470733a2f2f68656c702e706c6f742e6c792f7374617469632f696d616765732f67657474696e672d746f2d6b6e6f772d7468652d706c6f746c792d6d6f64656261722f646f776e6c6f61642d706c6f742d61732d612d706e672e706e67)
![Toolbar](https://user-images.githubusercontent.com/8467740/74047462-0241a500-4996-11ea-8ded-3f46a624b11c.png)
Can be moved to native toolbar similar to this:
We could display a sidebar that shows the JSON representation of the Figure.
The text was updated successfully, but these errors were encountered: