~tfardet/pycafe

ddd7671ec228892faa4751408ce70c863c674078 — Tanguy Fardet 4 months ago 3d1e522
Improved `plot_map_deposits`
1 files changed, 3 insertions(+), 2 deletions(-)

M plot/local_deposits.py
M plot/local_deposits.py => plot/local_deposits.py +3 -2
@@ 259,7 259,8 @@ def plot_map_deposits(
                                     spatial_bounds=bounds, ax=ax,
                                     legend=legend, show_boundary=False,
                                     show=False, language=lang, loc=loc,
                                     bbta=bbta, scale=plot_scale)
                                     bbta=bbta, scalebar=plot_scale,
                                     textcolor=kwargs.get("textcolor", "k"))

                    legend = ax.get_legend() is None



@@ 348,7 349,7 @@ def plot_map_deposits(
        else:
            plot_local_admin(area_name, boundary, data=data, pie=pie,
                             ax=ax, show=False, language=lang, loc=loc,
                             bbta=bbta)
                             bbta=bbta, scalebar=False)

    # plot the parcels
    if parcels is not None: