beautiful.nu
v0.0.4
Published
Catpuccin-themed plots for Termplot and Plotly.js
Readme
Beautiful
Beautiful (beautiful.nu) is a Nushell module that provieds convenience methods
for generating catppuccin-themed plots for
Termplot and
Plotly.js.
Beautiful is specifically designed to work with Nutorch to make it easy to create beautiful plots of machine learning data analysis results.
Installation
To install, first, install Nushell, and pnpm.
Then, run the following command:
pnpm add beautiful.nuThis will install the beautiful.nu module in your local project folder.
Now, you can load beautiful from your shell like this:
source node_modules/beautiful.nuUsage
If x and y are two vectors of the same length, you can plot them like this:
[{x: $x y: $y}] | beautiful scatterTODO
Support:
- [x] scatter plots
- [x] contour plots
- [x] line plots
- [ ] all other types of plots
About
This project was created for use by Nutorch and Termplot users, but it can be used by anyone who wants to create beautiful configuration files for Plotly.js.
License
This project is licensed under the MIT License - see the LICENSE file for details.
