Skip to content

Instantly share code, notes, and snippets.

View jpdarela's full-sized avatar

João Paulo Darela Filho jpdarela

  • TUM - Weihenstephan School of Life Sciences
  • Freising
  • 00:40 (UTC +01:00)
View GitHub Profile
@jpdarela
jpdarela / README.md
Last active August 26, 2023 19:03 — forked from kwinkunks/README.md
Matplotlib colourmaps for QGIS

mpl2qgis

See script below.

Make sure the Python file is executable. Then:

$ ./mpl2qgis.py viridis bone

This writes a file colourmaps.xml. Result: