ccrook / QGIS-Contour-Plugin

Contour plugin for QGIS - uses python matplotlib to generate contours of data on vector point data.
43 stars 13 forks source link

Use contourpy directly #54

Closed ccrook closed 2 months ago

ccrook commented 3 months ago

matplotlib uses an underlying python contouring library contourpy.

This is a much more suitable tool for implementing contouring in QGIS and provides a simpler contouring interface.

It is installed if matplotlib is installed, so will be available in any case if matplotlib is (ie not additional installation). But using it directly means that it can be used without the extra code of matplotlib.

ccrook commented 2 months ago

Further investigated and it turns out that contourpy is purely for contouring data on a grid of x,y values. We would still need matplotlib (or something else) for contouring by triangulating irregular data. So not pursuing this further ATM.