Skip to content

Commit ea87075

Browse files
committed
readme
1 parent 5ee5b20 commit ea87075

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,13 @@ PlotlyLight.template!("plotly_dark")
101101
```
102102

103103
See `PlotlyLight.templates` for a list of theme/template options.
104+
105+
<br>
106+
107+
## PlotlyLight in Pluto
108+
109+
If you are plotting inside of [Pluto](https://github.com/fonsp/Pluto.jl), you'll probably want to change the default height of the plot's parent container:
110+
111+
```julia
112+
PlotlyLight.Defaults.parent_style[] = "height: 400px;"
113+
```

src/PlotlyLight.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const templates = map(x -> replace(x, ".json" => ""), readdir(templates_dir))
1818
module Defaults
1919
using EasyConfig: Config
2020
using JSON3
21-
using ..PlotlyLight: templates_dir
2221
export src, class, style, parent_class, parent_style, config, layout
2322

2423
src = Ref(:cdn)

0 commit comments

Comments
 (0)