piccolomo / plotext

plotting on terminal
MIT License
1.79k stars 85 forks source link

Color for the scatter plots #205

Open NormanTUD opened 6 months ago

NormanTUD commented 6 months ago

I work at a university and would love to use your tool in a HPC application for optimizing neural networks.

Often, ssh is slow, and having all in a output log file instead of needing to to -X to the servers is annoying, so finding plotext was a gift.

I use it already to monitor some stuff.

I'd like one thing, though, namely, colored scatter plots. The documentation is quite practical, but I cannot real find anything on how I could do that.

My plan would be to plot a 2d scatter plot, where x and y describe a vector room in which hyperparameter have been crawled through, and then plot that in the console for every 2d combination of the plot.

I get it to scatter my data with the default code, but I cannot figure out how I can do color properly.

So my question is: How do I have to call

plt.scatter(...)

such that it allows me to control the colors of the dots?

Could you clarify this somewhere, maybe here, but also maybe in the documentation?

Thanks, and love the module. Really useful.

piccolomo commented 2 months ago

Just to update and apologise: I have been quite busy rewriting the package from ground up and will update.