Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple matplotlib-related utility functions.

Project Description
plotutils
=====

This is where I keep matplotlib-related plotting utility functions I have found useful.

Installation
------
To install::

pip install plotutils


Usage
------

How to use `setfig`:

This will create a new figure (same as plt.figure() call in
matplotlib)::

>>> from plotutils import setfig
>>> setfig(None) #or setfig()

You can also set the current figure to be a given figure number, clear it, and start over, e.g.: `setfig(3)`.

`setfig(0)` will do nothing, implying you want to overplot on the currently active figure.

I use the `setfig` function in every function that I write that makes
a plot, almost always as follows:

.. code-block:: python

import matplotlib.pyplot as plt
def my_plot(x,y,fig=None,**kwargs):
setfig(fig)
plt.plot(x,y,**kwargs)
Release History

Release History

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2.1-1

History Node

0.2.1

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plotutils-0.3.2.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Mar 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting