matplotlib: Bindings to Matplotlib; a Python plotting library

[ bsd3, graphics, library ] [ Propose Tags ]

Matplotlib is probably the most full featured plotting library out there. These bindings provide a quick, easy, and extensible way to use it in Haskell. Type-safety is largely non-existent and sacrificed for maximum extensibility.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7
Dependencies aeson, base (>=4.7 && <5), bytestring, process, temporary [details]
License BSD-3-Clause
Copyright 2017 Andrei Barbu
Author Andrei Barbu
Maintainer andrei@0xab.com
Category Graphics
Home page https://github.com/abarbu/matplotlib-haskell
Source repo head: git clone https://github.com/abarbu/matplotlib-haskell
Uploaded by AndreiBarbu at 2017-03-06T21:39:06Z
Distributions LTSHaskell:0.7.7, NixOS:0.7.7, Stackage:0.7.7
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 12302 total (74 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-06 [all 1 reports]

Readme for matplotlib-0.1.2.1

[back to package description]

Matplotlib

Build Status

Haskell bindings to Python's Matplotlib. It's high time that Haskell had a fully-fledged plotting library!

matplotlib contour plot

More info and docs forthcoming. For now see the tests for some examples.

Note that the API will undergo one large change in the next few days to make optional arguments more pervasive and less of a hassle and to eliminate some necessary type annotations. After this it will stabilize.

import Matplotlib

onscreen $ contourF (\a b -> sin (degreesRadians a) + cos (degreesRadians b)) (-100) 100 (-200) 200 10

Installation

You will need several python libraries to run this code which can be installed on Ubuntu machines with the following command:

sudo apt-get install -y python3-matplotlib python3-numpy python-mpltoolkits.basemap

If you have instructions for other machines or OSes let me know.