Matplotnim
A Nim wrapper for matplotlib
Install / Use
/learn @ruivieira/MatplotnimREADME
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:
- Hopefully it will serve as a learning resource, with examples, on how to call
matplotlibusingnimpy - 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
- 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
- Discussion: https://lists.sr.ht/~ruivieira/nim-discuss
- Development: https://lists.sr.ht/~ruivieira/nim-devel
Please prefix the subject with [matplotnim].
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
