From 18cd30c0b4adb42da09c1b9245c2ee1947860f6a Mon Sep 17 00:00:00 2001 From: k034b363 Date: Tue, 28 Apr 2026 13:54:57 -0500 Subject: [PATCH] Use params.text_size in _show_geojson --- plantcv/geospatial/_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plantcv/geospatial/_helpers.py b/plantcv/geospatial/_helpers.py index 422a4b84..bd1cca69 100644 --- a/plantcv/geospatial/_helpers.py +++ b/plantcv/geospatial/_helpers.py @@ -223,7 +223,7 @@ def _show_geojson(img, geojson, ids, **kwargs): for idx, row in bounds.iterrows(): x_coord = (row.geometry.bounds[0] + row.geometry.centroid.x) / 2 y_coord = row.geometry.centroid.y - plt.text(x_coord, y_coord, ids[idx], fontsize=10, c="m") + plt.text(x_coord, y_coord, ids[idx], fontsize=params.text_size, c="m") ax.imshow(flipped, extent=fig_extent, **kwargs) # Plot the shapefile