visualization.draw_geometry
visualization.draw_geometry(
geometry,
*,
title=None,
bitmap=False,
with_labels=True,
cmap='coolwarm',
edge_cmap='binary',
**kwgs,
)与えられた geometry を描画します。
パラメータ
| 名前 | 型 | 説明 | デフォルト |
|---|---|---|---|
| geometry | psiclone.data.Geometry |
geometry オブジェクト | 必須 |
| title | str | 必要に応じて表示するプロットのタイトル | None |
| bitmap | bool, optional (default: False) | True の場合は geometry を格子として扱い、その場合 draw_bitmap が呼び出されます。False の場合は networkx.draw_networkx が呼び出されます。 |
False |
| with_labels | bool, optional (default: True) | ラベルの描画を有効にします | True |
| cmap | str または Colormap, optional (default: “coolwarm”) |
ノードに対して matplotlib に渡されるカラーマップ | 'coolwarm' |
| edge_cmap | str または Colormap, optional (default: “binary”) |
エッジに対して matplotlib に渡されるカラーマップ | 'binary' |
その他のパラメータ
| 名前 | 型 | 説明 | デフォルト |
|---|---|---|---|
| **kwgs | dict | draw_bitmap または networkx.draw_networkx に渡される引数 |
{} |