Skip to content

Maker with gradient filling for plot and scatter [feature request] #8926

@alchem0x2A

Description

@alchem0x2A

Feature Request

I would like to know if Matplotlib could provide the functionality to plot using markers with gradient filling in scatter / plot, such that the markers in an 2D plot may mimic the appearance of a glossy 3D object, as the sample png attached (the gradient is post processed by Inkscape, however).

Currently it might be possible to mimick the gradient by adding multiple numbers of marker layers, with calculated size, or either use offsetbox by sticking images, but neither of them is compatible with legend.

I guess this could be a feature based on the backend, as this might not be simply achieved by specifying the facecolor of the marker. I would like to know if there is a specific backend (e.g. svg) which could achieve such behavior. Thank you!

drawing-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions