Skip to content

Commit

Permalink
Change more deprecated subplot specifiers... (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGrupp committed Aug 3, 2020
1 parent 6d85c97 commit ee249ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions evo/tools/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ def traj_rpy(axarr, traj, style='-', color='black', label="", alpha=1.0,


def trajectories(fig, trajectories, plot_mode=PlotMode.xy, title="",
subplot_arg="111"):
subplot_arg=111):
"""
high-level function for plotting multiple trajectories
:param fig: matplotlib figure
Expand All @@ -553,7 +553,7 @@ def trajectories(fig, trajectories, plot_mode=PlotMode.xy, title="",
:param title: optional plot title
:param subplot_arg: optional matplotlib subplot ID if used as subplot
"""
ax = prepare_axis(fig, plot_mode)
ax = prepare_axis(fig, plot_mode, subplot_arg)
cmap_colors = None
if SETTINGS.plot_multi_cmap.lower() != "none":
cmap = getattr(cm, SETTINGS.plot_multi_cmap)
Expand Down Expand Up @@ -581,7 +581,7 @@ def draw(t, name=""):

def error_array(fig, err_array, x_array=None, statistics=None, threshold=None,
cumulative=False, color='grey', name="error", title="",
xlabel="index", ylabel=None, subplot_arg='111', linestyle="-",
xlabel="index", ylabel=None, subplot_arg=111, linestyle="-",
marker=None):
"""
high-level function for plotting raw error values of a metric
Expand Down

0 comments on commit ee249ca

Please sign in to comment.