Skip to content

Forced interpolation="None" in plot() to avoid NaN artefacts causes large vectorized file size #641

Open
@rhugonnet

Description

@rhugonnet

And, as we override the default, it's not parametrizable with the rcParams of matplotlib anymore, the only way is to override everywhere with the interpolation= parameter at every call of plot(), which is unpractical.

To give an idea of the impact: Plotting a 100MB DEM with our forced interpolation="None": no matter the figsize or dpi arguments, the PDF figure file is always around 80MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementFeature improvement or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions