Skip to content

Commit ee6c716

Browse files
committed
readme
1 parent 67d2510 commit ee6c716

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ Manifest.toml
1010
*.log
1111
*.tar
1212
*.tar.gz
13-
deps/plotly_artifacts*
13+
deps/temp*
1414
notebooks/

Artifacts.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[PlotlyLight]
2-
git-tree-sha1 = "38fb2b670e07693819f9e49cdac0f0e6da1ca21e"
2+
git-tree-sha1 = "ba5e11fa6555b46ecf919362fe577020aef9aeed"
33

44
[[PlotlyLight.download]]
5-
sha256 = "5c2a8b6b66bd1582bd66ecd0b94aac0fc5266a7c126da41d44cd662a461dfc90"
6-
url = "https://gist.github.com/joshday/c10b6ad6217a48a500fddf5b4e20dcc2/raw/38fb2b670e07693819f9e49cdac0f0e6da1ca21e.tar.gz"
5+
sha256 = "442a57f9e6491ab807044a1070ba1f2b113391f9b2d23145ca5694d376a3e9f7"
6+
url = "https://gist.github.com/joshday/f217f745453bbdb75fba1e95e5edb8dc/raw/ba5e11fa6555b46ecf919362fe577020aef9aeed.tar.gz"

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,22 @@
2727
```julia
2828
using PlotlyLight
2929

30-
p = Plot(x = 1:20, y = cumsum(randn(20)), type="scatter", mode="lines+markers")
31-
```
30+
# Change template
31+
PlotlyLight.template!("plotly_dark")
3232

33-
### Mutate
33+
# Make plot
34+
p = Plot(x = 1:20, y = cumsum(randn(20)), type="scatter", mode="lines+markers")
3435

35-
```julia
36-
p.layout.title.text = "My Title!" # Change Layout
36+
# Make changes
37+
p.layout.title.text = "My Title!"
3738

38-
p # Display again (in same browser tab)
39+
# `display(p)` to see the updated plot
40+
p
3941
```
42+
43+
4044
<p align="center">
41-
<img width=650 src="https://user-images.githubusercontent.com/8075494/151987917-15a1c0fa-8f1f-483d-b662-cb8eaba5c7bf.png">
45+
<img width=650 src="https://user-images.githubusercontent.com/8075494/213164013-3ba1a108-122a-4339-a0a2-fa2175fa06e3.png">
4246
</p>
4347

4448
#### Adding Traces

0 commit comments

Comments
 (0)