Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastyBlacksmith authored Sep 8, 2022
1 parent 9395c09 commit c8da53c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Kaleido.jl
# PlotlyKaleido.jl

**Kaleido.jl** is for saving [Plotly.js](https://plotly.com/javascript/) plots in a variety of formats using [Kaleido](https://github.com/plotly/Kaleido).
**PlotlyKaleido.jl** is for saving [Plotly.js](https://plotly.com/javascript/) plots in a variety of formats using [Kaleido](https://github.com/plotly/Kaleido).

```julia
julia> Kaleido.ALL_FORMATS
julia> PlotlyKaleido.ALL_FORMATS
7-element Vector{String}:
"png"
"jpeg"
Expand All @@ -23,15 +23,15 @@ This code was originally part of [PlotlyJS.jl](https://github.com/JuliaPlots/Plo


```julia
using Kaleido
using PlotlyKaleido

import PlotlyLight, EasyConfig, PlotlyJS

p1 = PlotlyLight.Plot(EasyConfig.Config(x = rand(10)))

p2 = PlotlyJS.plot(PlotlyJS.scatter(x = rand(10)))

# Kaleido is agnostic about which package you use to make Plotly plots!
Kaleido.savefig(p1, "plot1.png")
Kaleido.savefig(p2, "plot2.png")
# PlotlyKaleido is agnostic about which package you use to make Plotly plots!
PlotlyKaleido.savefig(p1, "plot1.png")
PlotlyKaleido.savefig(p2, "plot2.png")
```

0 comments on commit c8da53c

Please sign in to comment.