dendrograms / astrodendro

Generate a dendrogram from a dataset
https://dendrograms.readthedocs.io/
Other
37 stars 36 forks source link

Problem of Dendrogram viewer with display of vmin and vmax #138

Open jpinedaf opened 9 years ago

jpinedaf commented 9 years ago

I am using Dendrogram viewer, but I'm having problem with the display of the vmin and vmax values. The values of vmin and vmax are approx. -2e-5 and and 145e-6, but the window only display 0.00 and 0.00, see attached image.

dendrogram_viewer_bug

ChrisBeaumont commented 9 years ago

We should be able to fix this by adding a valfmt keyword to https://github.com/dendrograms/astrodendro/blob/master/astrodendro/viewer.py#L146, which formats the values in scientific notation