hack のためのネタ帳, etc,,,

タグ検索でmatplotlib9件見つかりました。

20220317: Google Colab - cv2 の画像読み込みと表示

(img) ||= 方法としては、[[matplotlib.pyplot>https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.html]] で imshow() する方法、[[IPython.display>https://ipython.readthedocs.io/en/stable/api/generated/IPython.display.html]] の Image() に変換して display() する方法、[…

https://seesaawiki.jp/w/kou1okada/d/20220317%3a%20... - 2022年03月18日更新

20220107: matplotlib - 凡例文字の色分け

* 状況 matplotlib で中古車価格の散布図(scatter)を描いていたのだが、金額、走行距離を x, y 軸に取り、年式と変速機を凡例で表そうとしたところ、 プロットするデータのない凡例がいくつか生じたので、それらの凡例をグレイアウトしたい。 * 解法 「[[matplotlib legend font-color>https://google.com/search?q=matplotlib+legend+font-color]]」でググって以下のページを見つけた。 - stackov…

https://seesaawiki.jp/w/kou1okada/d/20220107%3a%20... - 2022年01月08日更新

20220107: matplotlib - 目盛りの倍率

ogle Colabolatory の matplotlib で散布図(scatter)を描いたら、6桁に収まる場合はそのまま表示されるのだが、6桁を超えると =|BOX| | -+---+---+---+---+---+---+- 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1e6 ||= みたいな表示になる。 書式の変更方法を「[[matplotlib numeric format axis>https://google.com…

https://seesaawiki.jp/w/kou1okada/d/20220107%3a%20... - 2022年01月08日更新

20201222: python - matplotlib - subplot 時にサイズを維持する

* やりたい事 Python の matplotlib で subplot する際に、シングルプロット時と同じサイズで縦横に並べたい。 * 方法 公式ページ - [[matplotlib>https://matplotlib.org/]] にあるドキュメントに当たってみたのだが、マージン関連のパラメータに関する記述がどこにあるのか地味に分かり辛い。 いろいろ、情報に当たって try & error してみた結果、 以下のことが分かった。 - matplotlib.pyplot.rcPar…

https://seesaawiki.jp/w/kou1okada/d/20201222%3a%20... - 2020年12月22日更新

20190702: python - cv2 と matplotlib で psude color

702: python - cv2 と matplotlib で pseudo color]]…

https://seesaawiki.jp/w/kou1okada/d/20190702%3a%20... - 2019年09月19日更新

20190702: python - cv2 と matplotlib で pseudo color

せたい。 * 方法 =|| from matplotlib import pyplot as plt import cv2 img = cv2.imread("hoge.png") gray_scale_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) plt.imshow(gray_scale_img, cmap="inferno") plt.show() ||= 単純に cv2.imread() で PNG を読むと RGB の 3 チャンネルカラーを持った…

https://seesaawiki.jp/w/kou1okada/d/20190702%3a%20... - 2019年09月19日更新

Python - matplotlib

tplotlib>https://matplotlib.org/]] * 参考になるページ等 - Google: [[matplotlib>https://google.com/#q=matplotlib]] * Tips ** 日本語の表示 お手軽なのは pip install japanize-matplotlib して import japanize_matplotlib しとく方法らしい。 他にも matplotlibrc (~/.matplotlib/matplotlibrc) …

https://seesaawiki.jp/w/kou1okada/d/Python%20%2d%2... - 2019年07月25日更新

20170102: Cygwin - Python3 - matplotlib

o install>http://matplotlib.org/faq/installing_faq.html#how-to-install]] に従い以下のようにしたところ、良く分からないエラーに。 =|| $ git clone https://github.com/matplotlib/matplotlib.git ... $ cd matplotlib $ pip3 install . ... UPDATING build/lib.cygwin-2.6.1-x86_64-3.4/ma…

https://seesaawiki.jp/w/kou1okada/d/20170102%3a%20... - 2017年01月04日更新

20161229: Cygwin - Python3 - Matplotlib

気がするのだが??? 続いて、本題の matplotlib の install =|| $ pip3 install matplotlib Collecting matplotlib Using cached matplotlib-1.5.3.tar.gz Complete output from command python setup.py egg_info: IMPORTANT WARNING: pkg-config is not installed. …

https://seesaawiki.jp/w/kou1okada/d/20161229%3a%20... - 2017年01月04日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(765) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(118) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(462) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(23) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(397) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(28) windows(126) windows10(50) wsl(26) zfs(32) 数式(21)

管理人/副管理人のみ編集できます