Skip to content

Commit 8722b0b

Browse files
committed
Fixng pyproject
1 parent 06778e6 commit 8722b0b

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Please see : http://colormap.readthedocs.io/ for an up-to-date documentation.
1717
.. image:: https://static.pepy.tech/personalized-badge/colormap?period=month&units=international_system&left_color=black&right_color=orange&left_text=Downloads
1818
:target: https://pepy.tech/project/colormap
1919

20+
.. image:: http://readthedocs.org/projects/colormap/badge/?version=main
21+
:target: http://colormap.readthedocs.org/en/latest/?badge=main
22+
:alt: Documentation Status
2023

2124

2225

doc/source/quickstart.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,18 @@ visualise colormaps
148148
>>> plot_category('qualitative')
149149

150150

151+
Visualise existing colormap
152+
-----------------------------
153+
154+
.. plot::
155+
:include-source:
156+
:width: 80%
157+
158+
>>> from colormap import plot_colormap,
159+
>>> plot_colormap("viridis")
160+
161+
162+
151163

152164
Create a linear colormap
153165
-------------------------------

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ matplotlib = [
4848
{version = "^3", python ="<3.12"},
4949
]
5050
numpy = [
51-
{version = "^2", python ="^3.9"},
52-
{version = "<2,", python ="<=3.9"}
51+
{version = "^2", python ="^3.10"},
52+
{version = "<2,", python ="<3.10"}
5353
]
5454
importlib_resources = [
5555
{version = ">6", python=">=3.9,<=3.10"}

0 commit comments

Comments
 (0)