diff --git a/u4py/plotting/plots.py b/u4py/plotting/plots.py index 45be2fcb33c14289b1b9ad975f3424cc5210d3a1..91221b4644b31ef3bf7a044039b1c7d6af84a40d 100644 --- a/u4py/plotting/plots.py +++ b/u4py/plotting/plots.py @@ -670,7 +670,8 @@ def geology_map( suffix=f"_{row[1].group:05}", out_folder=shp_path, ) - fault_data.plot(ax=ax, color="k") + if fault_data: + fault_data.plot(ax=ax, color="k") # Formatting and other stuff u4plotfmt.add_scalebar(ax=ax, width=plot_buffer * 4)