معرفی شرکت ها


cmcrameri-1.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Perceptually uniform colormaps by Fabio Crameri
ویژگی مقدار
سیستم عامل -
نام فایل cmcrameri-1.5
نام cmcrameri
نسخه کتابخانه 1.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Callum Rollo <c.rollo@outlook.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cmcrameri/
مجوز MIT License Colormaps in cmcrameri/cm/cmaps: Copyright (c) 2020 Fabio Crameri Python scripts and packaging: Copyright (c) 2020 Callum Rollo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
![Python package](https://github.com/callumrollo/cmcrameri/workflows/Python%20package/badge.svg) [![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)]() [![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)]() [![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)]() [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)]() [![Downloads](https://pepy.tech/badge/cmcrameri)](https://pepy.tech/project/cmcrameri) (PyPI) [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/cmcrameri.svg)](https://anaconda.org/conda-forge/cmcrameri) (conda-forge) # cmcrameri This is a Python wrapper around Fabio Crameri's perceptually uniform colormaps. <https://www.fabiocrameri.ch/colourmaps/> All credit for creating the colormaps to Fabio. Any errors in the Python implementation of colormaps are my own. This version is based on _Scientific colour maps_ [version 7.0](https://zenodo.org/record/4491293) (02.02.2021). ## Install With `pip`: ```sh python -m pip install cmcrameri ``` With `conda`: ```sh conda install -c conda-forge cmcrameri ``` ## Usage example ```python import cmcrameri.cm as cmc import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 1, 100)[np.newaxis, :] plt.imshow(x, aspect='auto', cmap=cmc.batlow) plt.axis('off') plt.show() ``` Alternatively, the registered name string can be used. ```python import cmcrameri # required in order to register the colormaps with Matplotlib ... plt.imshow(x, aspect='auto', cmap='cmc.batlow') ``` ## Extra instructions You can access all the core colormaps from Fabio Crameri's list by `cmcrameri.cm.<colormapname>`. You can use tab autocompletion on `cmcrameri.cm` if your editor supports it. For a reversed colormap, append `_r` to the colormap name. Categorical colormaps have the suffix `S`. For an image of all the available colormaps without leaving the comfort of your Python session: ```python from cmcrameri import show_cmaps show_cmaps() ``` ![Figure demonstrating the colormaps](cmcrameri/colormaps.png) The original colormap text files are shipped as part of the package. Find them on your system with: ```python from cmcrameri.cm import paths paths ``` ## License This work is licensed under an [MIT license](https://mit-license.org/).


نیازمندی

مقدار نام
- matplotlib
- numpy
- packaging


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl cmcrameri-1.5:

    pip install cmcrameri-1.5.whl


نصب پکیج tar.gz cmcrameri-1.5:

    pip install cmcrameri-1.5.tar.gz