Skip to content

Releases: JuliaPlots/PlotlyJS.jl

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

Requires.jl

13 Dec 17:38
c2ca256
Compare
Choose a tag to compare

New features:

  • pop! method for HasFields (bc117d4)
  • Functions for new trace types (see da813a6)
    • carpet
    • contourcarpet
    • sankey
    • scattercarpet
    • table
  • Can construct from traces DataFrames (96c2e93) (e.g. scatter(df::DataFrame, ...) now works in addition to the plot(::DataFrame,...) and Plot(::DataFrame, ...) methods that previously existed)
  • New method Base.show(io::IO, ::MIME"application/vnd.plotly.v1+json", p::Union{Plot,SyncPlot}) that allows plotlyjs to work in Jupyterlab (see below)

Bug fixes

Other

  • Added heatmap examples (a12d38f)
  • Added tables examples (77e6327)
  • Use Requires.jl to handle integrations with Juno, IJulia, and DataFrames (07753fd 0e2db25 and #145 )
  • Internal constants DEFAULT_STYLE and CURRENT_STYLE are now Refs instead of 1 element Vectors

Cyclers

25 Oct 13:35
Compare
Choose a tag to compare

Deprecations

  • the color_cycle field for Style has been removed in favor of the more general Cycler type (see below)

New Features

Drop Julia 0.5 and be more robust about Cairo/Rsvg dependencies

21 Oct 01:04
Compare
Choose a tag to compare
v0.7.0

CLN: clean up travis file b/c we don't require GTK