Skip to content

Pass point size as an array #142

@gerritholl

Description

@gerritholl

Currently, ContourWriterBase.add_points takes for the point size a scalar value — all points are drawn with the same size.

pycoast/pycoast/cw_base.py

Lines 786 to 799 in 293f4da

def add_points(
self,
image,
area_def,
points_list,
font_file,
font_size=12,
symbol="circle",
ptsize=6,
outline="black",
fill="white",
coord_ref="lonlat",
**kwargs,
):

I would like to draw different points with different sizes, as one would do in matplotlib using scatter:

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions