Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
phausamann committed Dec 29, 2021
1 parent 3e79a1e commit 330fa41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/reference_frames.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"source": [
"<div class=\"alert alert-info\">\n",
"Note\n",
" \n",
"\n",
"The following examples require the `matplotlib` library.\n",
"</div>"
]
Expand Down Expand Up @@ -652,7 +652,7 @@
"id": "awful-village",
"metadata": {},
"source": [
"As you can see, the resulting timestamps are the same as those of the second body; however, the first sample has been dropped because the transformation is not defined there."
"As you can see, the resulting timestamps are the same as those of the second body; however, the first sample has been dropped because the transformation is not defined there.\n"
]
}
],
Expand All @@ -677,4 +677,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 79
target_version = ['py36']
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
Expand Down
2 changes: 1 addition & 1 deletion rigid_body_motion/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _set_axes_equal(ax):
from https://stackoverflow.com/questions/8130823/set-matplotlib-3d-plot-aspect-ratio#comment115706463_64453375
"""
limits = np.array([getattr(ax, f'get_{axis}lim')() for axis in 'xyz'])
limits = np.array([getattr(ax, f"get_{axis}lim")() for axis in "xyz"])
ax.set_box_aspect(np.ptp(limits, axis=1))


Expand Down

0 comments on commit 330fa41

Please sign in to comment.