fossasia/visdom

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

Closed

#623 opened on May 10, 2019

 (5 comments) (0 reactions) (0 assignees)Python (1,152 forks)batch import
Fix Proposedenhancementhelp wanted

Repository metrics

Stars
 (9,831 stars)
PR merge metrics
 (Avg merge 9d 12h) (116 merged PRs in 30d)

Description

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

Contributor guide