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