Skip to content

Commit 33ea6e8

Browse files
authored
Note in README, and an image (#74)
* add the theme files * typo in include * fix dict of Vect of pairs * README: image and a note * README.md: same size, uploading instructions * remove image
1 parent 4b386c1 commit 33ea6e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Currently the following themes are available:
2828
- `:solarized_light`
2929
- `:wong`
3030
- `:wong2`
31+
- `:boxed`
3132
- `:gruvbox_dark`
3233
- `:gruvbox_light`
3334
- `:bright`
@@ -81,6 +82,9 @@ Themes can be previewed using `Plots.showtheme(thm::Symbol)`:
8182
### `:wong2`
8283
![theme_wong2](https://user-images.githubusercontent.com/16589944/70847880-eaecac80-1e69-11ea-9b59-cdf937427121.png)
8384

85+
### `:boxed`
86+
![theme_boxed](https://github.com/user-attachments/assets/ed1baaf1-4679-4d9a-9667-3118dc42200e)
87+
8488
### `:gruvbox_dark`
8589
![theme_gruvbox_dark](https://user-images.githubusercontent.com/16589944/70847882-f049f700-1e69-11ea-94f8-255f2cd17288.png)
8690

@@ -116,3 +120,10 @@ PRs for new themes very welcome! Adding a new theme (e.g. `mytheme`) is as easy
116120
_themes[:mytheme] = PlotTheme(; kwargs...)
117121
```
118122
The keyword arguments can be any collection of Plots attributes plus a colorgradient keyword argument.
123+
For adding the `showtheme` figure to `README.md`, use
124+
```julia
125+
Plots.showtheme(:your_theme)
126+
plot!(dpi=400)
127+
savefig("your_theme.png")
128+
```
129+
The image can be uploaded to the `README.md` file by pulling it in with the file-editing web interface.

0 commit comments

Comments
 (0)