From d0fc87df7eb4648c10c1a0a7a4c2d65a07dfde74 Mon Sep 17 00:00:00 2001 From: Vikash Kumar Date: Wed, 8 Jul 2026 10:47:42 -0400 Subject: [PATCH] BUGFIX: Better handling of x-axis when keys are empty --- robohive/utils/paths_utils.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/robohive/utils/paths_utils.py b/robohive/utils/paths_utils.py index 743518f6..670c2899 100644 --- a/robohive/utils/paths_utils.py +++ b/robohive/utils/paths_utils.py @@ -274,14 +274,6 @@ def plot(path_handle, env_handle=None, output_dir=None, output_name='', env_args ax.set_xlim(time[0], time[-1]) if iplt1 != (nplt1 - 1): ax.axes.xaxis.set_ticklabels([]) - if iplt1 == 0: - plt.title('Observations') - ax.yaxis.tick_right() - if path['env_infos']['obs_dict'][key].ndim<3: - plt.plot( - path['env_infos']['time'], - path['env_infos']['obs_dict'][key], - label=key) # plt.ylabel(key) plt.text(0.01, .01, f"{key}{path['env_infos']['obs_dict'][key].shape}", transform=ax.transAxes) plt.xlabel('time (sec)')