Skip to content

ruivieira/matplotnim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI builds.sr.ht status

matplotnim

A Nim wrapper for matplotlib.

🔮 v0.2.0 and the Future

Most of v0.1.0 is now deprecated and redundant with the creation of the great nimpy. With nimpy (almost) all of the constructs of matplotlib can now be called directly.

Nevertheless, I will keep this package for two reasons:

  1. Hopefully it will serve as a learning resource, with examples, on how to call matplotlib using nimpy
  2. Some complex plots can be very verbose (not Nim's fault, by the way) and this will be a package aiming at providing premade templates for such plots.

Features

  • Line plots
  • Scatter plots
  • Histograms (and KDE denisty plots)
  • 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

mailing lists

Please prefix the subject with [matplotnim].