Help us understand the problem. What is going on with this article?

PythonでAdobe illustratorで編集できるfigureを作成する

Jupyter notebookでの作図を論文のFigureに使用したい場合,最終的にはIllustratorでの加工が必要になるときがあります。

そのときのために,Illustratorでの編集が可能なPDFファイルの作成の方法です。
リンク1, リンク2

illustrator-editable-figure.py
import matplotlib
matplotlib.rcParams['pdf.fonttype'] = 42
matplotlib.rcParams['ps.fonttype'] = 42

#複数ページをPDF保存する際に必要なmodule
from matplotlib.backends.backend_pdf import PdfPages

.............
.............
.............

# 保存の際に下記。見切りが発生する場合は,さらにplt.savefigの引数に bbox_inches='tight' をつけるとよい。
plt.savefig("output-scatter.pdf", transparent=True)


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした