Skip to content

Commit

Permalink
add cmaps to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Bury committed Jun 11, 2021
1 parent 2a4fc50 commit 1fdd4d9
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 0 deletions.
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,56 @@ f = sc.compare_cmap(image="phase",
```
<td align="left"><img src="pics/phase.png" width="1000"/></td>

# All the built-in color maps

## Sequential


```python
sc.plot_colormap(ctype='sequential',
cmap_list='all',
figsize=None,
n_colors=5,
facecolor="black",
uniformize=True,
symmetrize=False,
unif_kwargs=None,
sym_kwargs=None)
```
<td align="left"><img src="pics/seq-cmaps-all.png" width="500"/></td>

## Diverging


<td align="left"><img src="pics/div-cmaps-all.png" width="500"/></td>

## Mutli-sequential

<td align="left"><img src="pics/multi-cmaps-all.png" width="500"/></td>

## Miscellaneous

<td align="left"><img src="pics/misc-cmaps-all.png" width="500"/></td>

## Circular

<td align="left"><img src="pics/circular-cmaps-all.png" width="500"/></td>

## Qualitative

```python
sc.plot_colormap(ctype='qualitative',
cmap_list='all',
figsize=None,
n_colors=5,
facecolor="black",
uniformize=False,
symmetrize=False,
unif_kwargs=None,
sym_kwargs=None)
```

<td align="left"><img src="pics/qual-cmaps-all.png" width="500"/></td>

# References

Expand Down
Binary file added pics/circular-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/div-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/misc-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/multi-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/qual-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/seq-cmaps-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions scicomap/scicomap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,7 @@ def plot_colormap(ctype, cmap_list='all', figsize=None, n_colors=10, facecolor="
# Turn off *all* ticks & spines, not just the ones with colormaps.
for ax in axes:
ax.set_axis_off()
return fig


def plot_colorblind_vision(ctype='sequential', cmap_list='all', figsize=None,
Expand Down

0 comments on commit 1fdd4d9

Please sign in to comment.