tags: project

Medium sized projects

This is a brainstorming documents for specific work to be done under the umbrella of the NASA ROSES grant and future grants

Improve non-linear grid lines

This is tied into astropy using contours https://github.com/astropy/astropy/pull/12447 / https://github.com/astropy/astropy/issues/12446 / https://github.com/matplotlib/matplotlib/issues/21569. There are similar hacks in metpy / cartopy for their map grid lines and skewT

Document exactly what our units system does now

  • units and ducktyping of array types (pandas, xarray, etc)
  • prose documentation
  • test suite that can validate converter classes

lead discussion of handling typing

  • dataclass / pydantic / ??

Refactor dpi handling to be virtual until drawtime

MPL's base co-ordinate system should not be one that changes when the monitor a window is on changes.

Speed up the documentation build

Doc builds have become very slow, to an extent that negatively affects the workflow.

  • When writing documentation, building locally to see what it looks like is basically impractical as you have to wait many minutes for the result. Even for incremental builds and using multiple CPUs.
  • Doc builds are the slowest part in our CI pipeline, which slows down reviews and iterations.

In particular:

  • Reduce the build time for clean builds.
  • Reduce the build time for incremental builds.
    Some time ago, that was ~30s for me, now it's ~500s. Try to get that down again.
  • Add options for additional shortcuts, e.g. leaving out the gallery (we've documented make O=-Dplot_gallery=0 html but that doesn't have a significant impact)
    This will improve the workflow for local building.
  • This will likely need patches to sphinx, sphinx_gallery, pydata_sphinx_theme and may need coordination with them.

Expand Hatch API

Patch API could be much more expansive and users should be able to make patch patterns

Question: Should this be "hatch" instead of "patch"? I think this should have been "hatch" [TAC]

Test image refactor

Somehow don't have a huge repo full of images

Line-stroke or brush API

Sometimes we want more than just dots and dashesโ€ฆ

Image resampling

Alpha compositing

https://github.com/matplotlib/matplotlib/issues/6210

expanded annotation: Position artists relative to other artists

https://github.com/matplotlib/matplotlib/issues/22223