Skip to content

Commit ee8668f

Browse files
committed
fix missing title in plot_profiles
Set title after plot_walkable_area, which would otherwise overwrite it with an empty string (its default).
1 parent cdaa2b9 commit ee8668f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pedpy/plotting/plotting.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,6 @@ def plot_profiles(
13241324
if axes is None:
13251325
axes = plt.gca()
13261326

1327-
axes.set_title(title)
13281327
imshow = axes.imshow(
13291328
mean_profiles,
13301329
extent=(bounds[0], bounds[2], bounds[1], bounds[3]),
@@ -1347,6 +1346,8 @@ def plot_profiles(
13471346
hole_alpha=hole_alpha,
13481347
)
13491348

1349+
axes.set_title(title)
1350+
13501351
return axes
13511352

13521353

0 commit comments

Comments
 (0)