Skip to content

Releases: JuliaPlots/PlotlyJS.jl

Close plot windows

11 Sep 16:10
Compare
Choose a tag to compare

reinstated function to close plot window.

Julia 1.0!

05 Sep 21:01
Compare
Choose a tag to compare

TODO: will write later. Big news is:

  • julia 0.7+ compatible (including 1.0)
  • Uses WebIO for all display code
  • uses ORCA.jl for savefig

Proper support for plotly mimetype

23 Jun 00:22
Compare
Choose a tag to compare

Enhancements

  • forward implementation of plotly mimetype for PlotlyJS.SyncPlot on to PlotlyBase.Plot.
  • Update REQUIRE to reflect this new dependency

IJulia and build fixes

20 Mar 14:47
4f0c99a
Compare
Choose a tag to compare

Bug fixes:

  • Only start an IJulia comm if IJulia has been inited. Closes #181 see 99b98f9
  • Fix paths in build.jl file. Thanks @EricForgy ref #183

Enhancements

  • Added an auto-generated CHANGELOG.md file (ref 03207e1)

Persistent plots in Jupyter notebook (when connected to internet)

07 Feb 01:18
Compare
Choose a tag to compare

New Features

  • Plots will now be persistent in jupyter notebook when user is connected to internet, even if output cell that loaded plotly.js is deleted (9e0b2d8, 20a3c98, and 5cf0d6c)
  • init_notebook is a no-op if not in IJulia (can safely be called from REPL. See #174. Fixed by 581195c)

Bug fixes

  • Fix bug for running deps/build.jl when assets/plotly-latest.min.js is not found on package startup (See #176. Fixed by b546135)
  • Remove definition IJulia.display_dict(::PlotlyBase.Plot) as it is defined in PlotlyBase. (5dff673)

Plotly Base

01 Feb 17:09
c9b8abc
Compare
Choose a tag to compare

Changes

  • All plot creation routines (including the Plot, Layout, GenericTrace, and associated types) have been moved to the PlotlyBase.jl (ref #171 )

Improvements

  • For the electron display, we have CI tests for plotly.js API methods (restyle, relayout, update, addtraces, deletetraces, movetraces, extendtraces, to_image, and purge) (see 0cfcb4c)
  • Also for electron display, we are testing the ability of the savefig routine to run for files with extensions [".plotly.json", "json", "html", "svg", "pdf", "png", "eps"] (see 0cfcb4c)

Bug fixes

  • A docstring error in the DataFrames API has been fixed (that code now lives inside PlotlyBase.jl) (ref #169)

New traces, examples, and DataFrame api functionality

20 Jan 02:01
Compare
Choose a tag to compare

New

  • New trace types violin, scatterpolar, and scatterpolargl (2c909b7)
  • Docs for violin and table
  • In DataFrame api, can apply group logic to trace functions instead of just plots (037e84)
  • When using DataFrame api, can now pass a function as a value for a keyword argument. This function is evaluated with the DataFrame and the return value from the function is used as the trace attribute (037e84)

Improvements

  • Custom subplot doc examples (see subplots_withcomprehension and subplots_withsharedaxes here). Thanks @jbrea (#163)
  • Fix some typos code. Thanks @ghuba (#166)

avoid race condition with Blink.jl v0.6.0 using up to date electron

11 Jan 04:45
Compare
Choose a tag to compare

Bug fixes

  • Blink.jl v0.6.0 updated to a recent version of electron. This had unintended consequences and created race conditions for Julia code trying to load resources into a blink window immediately after the window is created. To get around this, we ask the window to evaluate 1+1 in a while loop. If the window is ready we get back 2 and move on. If the window is not ready we get back and empty dict, sleep for 0.01 seconds, and try again. We do this for 2 seconds (up to 200 retries). In my testing I get that we usually get success after < 10 tries (see 35c8c77).

Bug in DataFrames api

06 Jan 13:51
Compare
Choose a tag to compare

Bug fixes

  • DataFrames is now loaded inside the dataframes_api.jl file so it's functions are available (report: #158 fix: 7263071).

3d subplots

19 Dec 14:55
b5d9601
Compare
Choose a tag to compare

Bug fixes

  • Fix subplot builder code so that it handles putting multiple 3d plots into subplots