fossasia/visdom

Is there a way to change marker edge width and color?

Chiusa

#623 aperta il 10 mag 2019

 (5 commenti) (0 reazioni) (0 assegnatari)Python (1152 fork)batch import
Fix Proposedenhancementhelp wanted

Metriche repository

Star
 (9831 stelle)
Metriche merge PR
 (Merge medio 9g 12h) (116 PR mergiate in 30 g)

Descrizione

Is your feature request related to a problem? Please describe. When I use 3d Scatter chart, I need to customize the opts.markercolor which indicate the weights for different points. For instance, the darker of the points, the higher of the weight. However, the border of the points, which always assigned a darker color makes the visual evaluation harder.

So I'm wondering if there is any api or feature in the future provide the ability to change the marker edge width and color like what Plot.ly did.

Describe the solution you'd like Add more configurations in opts. like :

        self.vis.scatter(
            X=X,
            Y=Y,
            env=env,
            win=legend,
            opts=dict(
                markersize=2,
                markercolor=color_map,
                *markeredgewidth=0*
                name=legend,
                title=legend
            )
        )

image

Guida contributor