Skip to main content

A plotting library for Python with LaTeX output

Project description

http://img.shields.io/pypi/v/artist.png http://img.shields.io/badge/license-GPLv3-blue.png http://img.shields.io/travis/davidfokkema/artist/master.png

In short

Artist is a 2D plotting library for Python. It’s main focus is the output. Artist creates a LaTeX file which can be included in your paper or thesis. The code needs TikZ and PGFPlots to compile and your plots will tightly integrate with your main text. Artist provides an easy-to-use and clean Python interface and can compile your plot on-the-fly as a stand-alone PDF file.

For instance the cosmic-ray flux spectrum:

https://raw.githubusercontent.com/davidfokkema/artist/master/doc/images/tutorial/spectrum.png

See the documentation for tutorials.

Rationale

Artist enables you to visualize the results of your data analysis. The quality of your plots should reflect the quality of your analysis. With most software, this is hardly possible and the term ‘publication quality’ takes on an entirely new meaning. As a result, many papers and theses suffer from inconsistent and generally poor-quality plots.

Fortunately, some solutions are available. For LaTeX users, one can use PGF/TikZ for generating figures and plots. This ensures a very consistent display throughout your document. PGFPLOTS builds on that to provide a user-friendly interface for many kinds of plots and to allow extensive customization.

For many users, however, it is more convenient to use a programmatic interface from your favorite programming language. For Python, such an interface is available in Artist.

Artist can be used in place of other plotting libraries, but the output is a LaTeX file requiring PGF/TikZ and PGFPLOTS. Previewing the output is possible by means of a simple method which renders the plot as a PDF.

The style of the plots is based on the work of William S. Cleveland.

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

artist-0.17.0.tar.gz (500.6 kB view details)

Uploaded Source

Built Distribution

artist-0.17.0-py2-none-any.whl (30.4 kB view details)

Uploaded Python 2

File details

Details for the file artist-0.17.0.tar.gz.

File metadata

  • Download URL: artist-0.17.0.tar.gz
  • Upload date:
  • Size: 500.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for artist-0.17.0.tar.gz
Algorithm Hash digest
SHA256 123f820b47058aadb6822549a3a137a9f9103ff630e2b2163396dfee7db89295
MD5 451a77f8e98979ae3b305667092d6e50
BLAKE2b-256 e90b356e3dd86a51b9507a6b3744152b6aff4230ddc87bf6081af9a4b7fa8666

See more details on using hashes here.

Provenance

File details

Details for the file artist-0.17.0-py2-none-any.whl.

File metadata

File hashes

Hashes for artist-0.17.0-py2-none-any.whl
Algorithm Hash digest
SHA256 5b0b3ea7ff99be17722946c625c256eb37b09736f1b525d8f206dc3eca79ed8c
MD5 3a5c8a2487f476b912aaa7d4511da048
BLAKE2b-256 4651d2fbca69f34e7a72293f37ef8a3af9cd3ac831b1dca13950028ff874be50

See more details on using hashes here.

Provenance

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