Defining canvas borders for the Drawing add-on #594
Answered
by
akantifirst
akantifirst
asked this question in
Q&A
-
I've noticed that when exporting dxf to pdf with Matplotlib backend, the borders of ~5% of layout size are added. |
Beta Was this translation helpful? Give feedback.
Answered by
akantifirst
Jan 8, 2022
Replies: 2 comments
-
Take a look at the FAQ for the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to remove margins by using ax.margins method: ax: plt.Axes = fig.add_axes((0, 0, 1, 1)) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
akantifirst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to remove margins by using ax.margins method:
ax: plt.Axes = fig.add_axes((0, 0, 1, 1))
ax.margins(0, 0)