https://github.com/cristobaltapia/mpl_fill_cmap_between

https://github.com/cristobaltapia/mpl_fill_cmap_between

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cristobaltapia
  • Language: Python
  • Default Branch: master
  • Size: 350 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed about 3 years ago
Metadata Files
Readme

README.md

mplfillcmap_between

Create fill_between-like plots filled with any matplotlib's colormap.

Install

bash pip install mpl_fill_cmap_between

Examples

The function fill_cmap_between (and also the function fill_cmap_between_x) can be used in the following manner:

```python import numpy as np import matplotlib.pyplot as plt from mplfillcmapbetween import fillcmapbetween, fillcmapbetweenx

x = np.linspace(-10, 10, 50) y = x**2 - 40

fig = plt.figure(figsize=(4.8, 2.0)) ax = fig.add_subplot(111)

fillcmapbetween(x, y * 0.1, 0, ax=ax, cmap="viridis", kwline1=dict(color="k"), kwline2=dict(color="k", lw=0.5)) ax.set_aspect("equal")

fig.tight_layout() fig.savefig("example.pdf", dpi=300) ```

Example

The plot can also be rotated by an angle from a given origin:

```python import numpy as np import matplotlib.pyplot as plt from mplfillcmapbetween import fillcmapbetween, fillcmapbetweenx

x = np.linspace(0, 10, 50) y = (x - 5)**2 - 10

fig = plt.figure(figsize=(4.8, 2.0)) ax = fig.add_subplot(111)

fillcmapbetween(x, y * 0.1, 0, ax=ax, cmap="viridis", kwline1=dict(color="k"), kwline2=dict(color="k", lw=0.5), angle=40, origin=(10, 0)) ax.set_aspect("equal") ax.grid(True, ls=":")

fig.tightlayout() fig.savefig("example02.png", dpi=300) ```

Example

Owner

  • Name: Cristóbal Tapia
  • Login: cristobaltapia
  • Kind: user
  • Location: Stuttgart, Germany
  • Company: University of Stuttgart

GitHub Events

Total
Last Year

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 15
  • Total Committers: 2
  • Avg Commits per committer: 7.5
  • Development Distribution Score (DDS): 0.067
Top Committers
Name Email Commits
Cristóbal Tapia Camú c****a@g****m 14
ac115352 c****u@m****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 17 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
pypi.org: mpl-fill-cmap-between

Create fillbetween plots filled with any colormap

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 17 Last month
Rankings
Dependent packages count: 6.6%
Forks count: 30.5%
Dependent repos count: 30.6%
Average: 32.6%
Stargazers count: 39.1%
Downloads: 56.1%
Maintainers (1)
Last synced: 10 months ago

Dependencies

poetry.lock pypi
  • Pillow 9.2.0
  • cycler 0.11.0
  • fonttools 4.37.1
  • kiwisolver 1.4.4
  • matplotlib 3.5.3
  • numpy 1.23.3
  • packaging 21.3
  • pyparsing 3.0.9
  • python-dateutil 2.8.2
  • setuptools 65.3.0
  • setuptools-scm 6.4.2
  • six 1.16.0
  • tomli 2.0.1
pyproject.toml pypi
  • matplotlib ^3.0.0
  • python ^3.8