Skip to main content

Simple add quiver legend toolkit for matplotlib

Project description

example:

import matplotlib.pyplot as plt
import numpy as np
from easyxp import simple_quiver_legend


x = np.linspace(0, 2*np.pi, 10)
y = np.sin(x)
u = np.cos(x)
v = np.sin(x)


fig, ax = plt.subplots(dpi=200)
q = ax.quiver(x, y, u, v)


simple_quiver_legend(
    ax=ax,
    quiver=q,
    reference_value=1.0,
    unit='m/s',
    legend_location='upper right',
    box_facecolor='lightgray'
)

plt.show()


Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyxp-1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easyxp-1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file easyxp-1.0.tar.gz.

File metadata

  • Download URL: easyxp-1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for easyxp-1.0.tar.gz
Algorithm Hash digest
SHA256 5b6013cc5368a11ae7c20dcb60a4c96ebc8081ebad8b4f2eb793905a713d38dd
MD5 66caa2abea4dbb7e6cce4a39685fc8ef
BLAKE2b-256 acdaf329b01c53037a775901996b6d55b9ab687e0a83ba4f76deed47ba7c818d

See more details on using hashes here.

File details

Details for the file easyxp-1.0-py3-none-any.whl.

File metadata

  • Download URL: easyxp-1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for easyxp-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c0720c1fbb87ccd2547b2bb3615b3f43a400df2aac0ffdb01c3d6a96b057c85
MD5 b26f090a3dd96e0a6312759bfced7fe6
BLAKE2b-256 e2cfa662c564b0f931236d829ced7ff571a5f5cdc8850dd4b0ae425f8aa680b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page