Fix legend call in MuJoCo tutorial notebook. Fixes #2447
PiperOrigin-RevId: 853220360 Change-Id: I1920af5fd01bcf654c7d9d11d8dd1c2f637ef748
This commit is contained in:
committed by
Copybara-Service
parent
9743c2d385
commit
5be6f262b2
@@ -1360,7 +1360,7 @@
|
|||||||
"lines = ax[0,0].plot(sim_time, force)\n",
|
"lines = ax[0,0].plot(sim_time, force)\n",
|
||||||
"ax[0,0].set_title('contact force')\n",
|
"ax[0,0].set_title('contact force')\n",
|
||||||
"ax[0,0].set_ylabel('Newton')\n",
|
"ax[0,0].set_ylabel('Newton')\n",
|
||||||
"ax[0,0].legend(lines, ('normal z', 'friction x', 'friction y'));\n",
|
"ax[0,0].legend(list(lines), ('normal z', 'friction x', 'friction y'));\n",
|
||||||
"\n",
|
"\n",
|
||||||
"ax[1,0].plot(sim_time, acceleration)\n",
|
"ax[1,0].plot(sim_time, acceleration)\n",
|
||||||
"ax[1,0].set_title('acceleration')\n",
|
"ax[1,0].set_title('acceleration')\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user