Skip to content

hparams parallel coordinate view should adjust width for number of axes #3414

@pyscorcher

Description

@pyscorcher

Issue

If we have a large number of hparams and metrics (= a large number of axes) in the parallel coordinate view we obviously need a wide plot pane to show all the axes in a meaningful way. Note that here we have more than ten axes that are still very well visible.

grafik

But if you then disable some of them, the spacing between the remaining axes just gets stretched, and if there are sufficiently many they get stretched beyond a usable distance. Compared to the previoius screenshot we now only have five axes selected, but only three of them are visible. But as we saw there is room for at least ten of them.

grafik

Suggestion

My suggestion is that that the spacing between the axes should remain constant no matter how many parameters there are. Optionally one could introduce a slider/spinbox to adjust the spacing to your needs.

To replicate this issue you can use following python code to generate a summary file (needs pytorch),

from torch.utils.tensorboard import SummaryWriter
tb = SummaryWriter()
tb.add_hparams({"hparam"+str(k): k for k in range(10)}, {"metric"+str(k): k for k in range(10)})

then start tensorboard with tensorboard --logdir=runs and open localhost:6006 in your browser.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions