ContextLab / hypertools

A Python toolbox for gaining geometric insights into high-dimensional data
http://hypertools.readthedocs.io/en/latest/
MIT License
1.81k stars 161 forks source link

added ability to change color of wireframe #262

Closed ljchang closed 3 months ago

ljchang commented 3 months ago

I wasn't able to find any tutorials for customizing colors of plots.

Most of the matplotlib properties can be easily accessed via the DataGeometry class. However, the wireframe properties are more deeply embedded in the hypertools plotting functions.

This suggested change incorporate cube_kwargs that propagates into the plot_cube() function.

Not sure if this functionality is of interest to anyone else, but thought I would share just in case.

paxtonfitzpatrick commented 3 months ago

Thanks @ljchang, this is a great idea! I expanded on this slightly and made a few minor tweaks:

Merging this in!