Skip to content

Commit

Permalink
add some docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
disberd committed Mar 21, 2024
1 parent ec5c53f commit f031405
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/local_plotly_library.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,10 @@ end


"""
enable_plutoplotly_offline
enable_plutoplotly_offline(;version = get_plotly_version())
Creates a script that loads the plotly library on the current browser session so that it is available even when not connected to internet.
Put this in a separate cell so that the plotly JS library is stored in the browser and available for all plots.
"""
function enable_plutoplotly_offline(;version = get_plotly_version())
_import = import_local_js(get_local_plotly_contents(version), "default")
Expand Down

0 comments on commit f031405

Please sign in to comment.