Skip to content

Commit f4c1ec9

Browse files
Update example docstrings
1 parent bb0252f commit f4c1ec9

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

examples/show_in_pybullet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"""
88
Show a robot description, specified from the command line, using PyBullet.
99
10-
This example requires PyBullet, which is installed by `pip install pybullet`.
10+
This example is equivalent to `python -m robot_descriptions show_in_pybullet`.
11+
It requires PyBullet, which can be installed by `pip install pybullet`.
1112
"""
1213

1314
import argparse

examples/show_in_yourdfpy.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@
77
"""
88
Show a robot description, specified from the command line, using yourdfpy.
99
10-
Note:
11-
You can also use `python -m robot_descriptions show_in_yourdfpy` from the
12-
command line.
13-
14-
This example requires `yourdfpy` which is an optional dependency. It can be
15-
installed separately (``pip install yourdfpy``), or when robot descriptions are
16-
installed with optional dependencies `pip install robot_descriptions[opts]`.
10+
This example is equivalent to `python -m robot_descriptions show_in_yourdfpy`.
11+
It requires `yourdfpy`, an optional dependency that can be installed by `pip
12+
install yourdfpy`.
1713
"""
1814

1915
import argparse

0 commit comments

Comments
 (0)