Skip to content

longitude inline labels don't work under geostationary projection #269

Open
@IAP-FuYaNan

Description

@IAP-FuYaNan

Longitude inline labels don't work under the geostationary projection. If I set both latinline and loninline to True, then loninline does not work. If I set latinline to False, then loninline works fine. The script is shown below.

import numpy as np
import ultraplot as uplt
projgeo = uplt.Proj(
    'geos',
    central_longitude = 105,
    satellite_height = 35785831,
    )
fig, ax = uplt.subplots(
    proj = projgeo,
    refwidth = 5,
    figurefacecolor = 'w',
    )
ax.format(
    lonlines = np.arange(15, 200, 30),
    latlines = np.arange(-60, 61, 20),
    latlabels = True,
    latinline = True,
    lonlabels = True,
    loninline = True,
    coast = True,
    reso = 'lo',
    )
fig.save(r'/data1/fuyanan/MCS/test.png', dpi=200)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions