Skip to main content

ruler for matplotlib's figure

Project description

mplruler

This is an auxiliary library for displaying rulers and grids in matplotlib's Figure.

Although they do not remain on the final figure, auxiliary lines and scales make it easy to grasp the position and size of the figure and make adjustments smoothly.

mlpruler has two functions.

  • add_ruler
    • Display ruler in inches

ruler

  • add_grid
    • Displays grid lines in fraction

grid

Example

With grid lines, it is easy to keep track of the width and position of the axes.

both

Installation

pip install mplruler

Project details


Download files

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

Source Distribution

mplruler-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

mplruler-0.0.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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