Skip to content

Document usage of mask_color and mask_cmap in 1d/2d plots #446

@nvaytet

Description

@nvaytet

It is possible to do

import plopp as pp

da = pp.data.data1d(masks=True)
da.plot(vmax=1.0, mask_color='red')

and

import plopp as pp

da = pp.data.data2d(masks=True)
da.plot(vmax=1.0, mask_cmap='red')

but this is missing from the docs.

Also, maybe there should be two arguments for 2d images, mask_cmap and mask_color, instead of using mask_cmap for both cases, as it's rather confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions