Skip to content

Commit

Permalink
Bugfix in script
Browse files Browse the repository at this point in the history
  • Loading branch information
rougier committed Jan 9, 2023
1 parent c546f8e commit 8d14fc2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/coordinates/transforms-letter.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
)

ax = fig.add_subplot(2, 1, 2)
dx, dy = 10 / fig.dpi, 10 / fig.dpi
dx, dy = 10 / 72, 10 / 72
offset = ScaledTranslation(dx, dy, fig.dpi_scale_trans)

plt.text(
Expand Down
Binary file modified pdf/book.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion rst/coordinates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ the offset:
plt.text(0.1, 0.1, "A", transform=ax.transAxes)
ax = fig.add_subplot(2, 1, 2)
dx, dy = 10/fig.dpi, 10/fig.dpi
dx, dy = 10/72, 10/72
offset = ScaledTranslation(dx, dy, fig.dpi_scale_trans)
plt.text(0, 0, "B", transform=ax.transAxes + offset)
Expand Down
2 changes: 1 addition & 1 deletion tex/book.bbl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% $ biblatex auxiliary file $
% $ biblatex bbl format version 3.1 $
% $ biblatex bbl format version 3.2 $
% Do not modify the above lines!
%
% This is an auxiliary file used by the 'biblatex' package.
Expand Down

0 comments on commit 8d14fc2

Please sign in to comment.