エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ここにツイート内容が記載されます https://b.hatena.ne.jp/URLはspanで囲んでください
Twitterで共有ONにすると、次回以降このダイアログを飛ばしてTwitterに遷移します
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl fig,axes = plt.subplo... import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl fig,axes = plt.subplots(2,2,figsize=(6,4), sharex="col", layout="constrained") for ax in axes.ravel(): ax.set(xscale="log",yscale="log") N = 20 norm = mpl.colors.LogNorm(vmin=2**0,vmax=2**N) cmap = plt.get_cmap("Blues") x = np.logspace(-2,2,100) for i in range(N): axes[0,0].plot(x,2**i*x,color=cmap(norm(2**i))) axes[0,1].p