Move images to assets

This commit is contained in:
brambozz 2022-12-28 16:34:39 +01:00
parent ee93991562
commit f67cf5e749
43 changed files with 15 additions and 15 deletions

View File

@ -17,10 +17,10 @@ all:
# Make catwalks
python scripts/create_example_plots.py
catwalk examples/latte/plot.png examples/frappe/plot.png examples/macchiato/plot.png examples/mocha/plot.png -o examples/catwalks/plot.png
catwalk examples/latte/scatter.png examples/frappe/scatter.png examples/macchiato/scatter.png examples/mocha/scatter.png -o examples/catwalks/scatter.png
catwalk examples/latte/bar.png examples/frappe/bar.png examples/macchiato/bar.png examples/mocha/bar.png -o examples/catwalks/bar.png
catwalk examples/latte/patches.png examples/frappe/patches.png examples/macchiato/patches.png examples/mocha/patches.png -o examples/catwalks/patches.png
catwalk examples/latte/boxplot.png examples/frappe/boxplot.png examples/macchiato/boxplot.png examples/mocha/boxplot.png -o examples/catwalks/boxplot.png
catwalk examples/latte/palette.png examples/frappe/palette.png examples/macchiato/palette.png examples/mocha/palette.png -o examples/catwalks/palette.png
catwalk examples/latte/imshow.png examples/frappe/imshow.png examples/macchiato/imshow.png examples/mocha/imshow.png -o examples/catwalks/imshow.png
catwalk assets/latte/plot.png assets/frappe/plot.png assets/macchiato/plot.png assets/mocha/plot.png -o assets/catwalks/plot.png
catwalk assets/latte/scatter.png assets/frappe/scatter.png assets/macchiato/scatter.png assets/mocha/scatter.png -o assets/catwalks/scatter.png
catwalk assets/latte/bar.png assets/frappe/bar.png assets/macchiato/bar.png assets/mocha/bar.png -o assets/catwalks/bar.png
catwalk assets/latte/patches.png assets/frappe/patches.png assets/macchiato/patches.png assets/mocha/patches.png -o assets/catwalks/patches.png
catwalk assets/latte/boxplot.png assets/frappe/boxplot.png assets/macchiato/boxplot.png assets/mocha/boxplot.png -o assets/catwalks/boxplot.png
catwalk assets/latte/palette.png assets/frappe/palette.png assets/macchiato/palette.png assets/mocha/palette.png -o assets/catwalks/palette.png
catwalk assets/latte/imshow.png assets/frappe/imshow.png assets/macchiato/imshow.png assets/mocha/imshow.png -o assets/catwalks/imshow.png

View File

@ -12,39 +12,39 @@
</p>
<p align="center">
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/plot.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/plot.png"/>
</p>
## Previews
<details>
<summary>Line plot</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/plot.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/plot.png"/>
</details>
<details>
<summary>Bar plot</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/bar.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/bar.png"/>
</details>
<details>
<summary>Box plot</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/boxplot.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/boxplot.png"/>
</details>
<details>
<summary>Scatter plot</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/scatter.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/scatter.png"/>
</details>
<details>
<summary>Patches</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/patches.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/patches.png"/>
</details>
<details>
<summary>Colormap</summary>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/examples/catwalks/imshow.png"/>
<img src="https://raw.githubusercontent.com/brambozz/matplotlib-catppuccin/main/assets/catwalks/imshow.png"/>
</details>
## Usage

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

BIN
assets/catwalks/imshow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 183 KiB

View File

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 91 KiB

View File

Before

Width:  |  Height:  |  Size: 176 KiB

After

Width:  |  Height:  |  Size: 176 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/frappe/imshow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/latte/imshow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 159 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/macchiato/imshow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 158 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 163 KiB

After

Width:  |  Height:  |  Size: 163 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

BIN
assets/mocha/imshow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 154 KiB

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -10,7 +10,7 @@ from pathlib import Path
dpi = 200
for palette_name in palettes:
mpl.style.use(palette_name)
palette_path = Path("examples") / palette_name
palette_path = Path("assets") / palette_name
# Plot palette separately
fig = plot_palette(palette_name)