https://github.com/ruivieira/matplotnim
A Nim wrapper for matplotlib
https://github.com/ruivieira/matplotnim
graphics matplotlib nim scientific wrapper
Last synced: 5 months ago
JSON representation
A Nim wrapper for matplotlib
- Host: GitHub
- URL: https://github.com/ruivieira/matplotnim
- Owner: ruivieira
- License: apache-2.0
- Created: 2019-04-12T17:52:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-05T14:14:37.000Z (over 4 years ago)
- Last Synced: 2024-12-06T19:37:54.946Z (about 1 year ago)
- Topics: graphics, matplotlib, nim, scientific, wrapper
- Language: Nim
- Homepage: https://ruivieira.github.io/matplotnim/
- Size: 624 KB
- Stars: 22
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ruivieira/matplotnim/actions/workflows/test.yml) [](https://builds.sr.ht/~ruivieira/matplotnim/commits/.build.yml?)
# 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`](https://github.com/yglukhov/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](docs/README.md).
## Contributing
- Fork it (https://github.com/ruivieira/matplotnim)
- 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
## mailing lists
- Announcements: [https://lists.sr.ht/~ruivieira/nim-announce](https://lists.sr.ht/~ruivieira/nim-announce)
- Discussion: [https://lists.sr.ht/~ruivieira/nim-discuss](https://lists.sr.ht/~ruivieira/nim-discuss)
- Development: [https://lists.sr.ht/~ruivieira/nim-devel](https://lists.sr.ht/~ruivieira/nim-devel)
Please prefix the subject with `[matplotnim]`.