Installation

# Add this to your shard.yml
dependencies:
  matplotcr:
    gitlab: ruivieira/matplotcr
    version: ~> 0.1.10

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
Apache2.0
Author
Rui Vieira

Dependencies

Development Dependencies

  • gsl*github: ruivieira/crystal-gsldev

README

https://gitlab.com/ruivieira/matplotcr

matplotcr

A Crystal wrapper for matplotlib.

Features

  • Line plots
  • Scatter plots
  • Histograms
  • Line segments
  • Axis (horizontal and vertical) lines
  • Font customisation
  • Annotations
  • Custom size and DPI
  • Sub-plots
  • Horizontal and vertical limits
  • Custom markers

Examples

Examples can be found here.

Contributing

  • Fork it (https://gitlab.com/ruivieira/matplotcr)
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request