Skip to content

PlotGeometry missing trait for stroke width #2719

@dcamron

Description

@dcamron

The options on PlotGeometry for controlling the appearance of the geometry (not the labels) are:

  • stroke - edgecolor for polygons, line color for lines
  • marker - What symbol is used for points
  • fill - fill color for points/polygons

It doesn't appear we have any option for the stroke/line width. I can see adding it as stroke_width, but I do hesitate a bit because I don't want to add attributes for every matplotlib option. On the other hand, we probably should add it since, as you noted, we do have the option for the map features.

I think given that last sentence, I lean to adding it. @dcamron @kgoebber any thoughts?

Originally posted by @dopplershift in #2718 (comment) (thanks @sudokoko for starting the discussion!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: PlotsPertains to producing plotsType: EnhancementEnhancement to existing functionalitygood first issueStraightforward issues suitable for new and inexperienced contributors to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions