Skip to content

Wrong label of axis of plopp.scatter of multiple DataArrays #451

@celinedurniak

Description

@celinedurniak

Using these inputs (from online documentation)

a = pp.data.scatter()
b = pp.data.scatter(seed=2) * 10.0
b.coords['x'] += sc.scalar(50.0, unit='m')

pp.scatter({'a': a, 'b': b}) gives a plot whose y label is a[K]. But if a and b are plotted separately the label of the y axes is [K].
Adding x='x', y='y' as argument does not change the plots.
See enclosed screenshots

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions