問題タブ [magpylib]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - パッケージ magpylib の「collection」と「displaySystem」の問題
最近「magpylib」をインストールしました。このパッケージを学習するために、ドキュメントで提供されている基本コードを実行しようとしています (私は Python の初心者です)。「displaySystem」関数に関しては、次のように説明されています。
displaySystem(markers=[[0.0, 0.0, 0.0]], suppress=False, direc=False)
コレクション システムをインタラクティブな pyplot で表示し、matplotlib の図識別子を返します。" ( https://magpylib.readthedocs.io/en/installation-update/_autogen/magpylib/#magpylib.Collection )
AttributeError: 'Collection' object has no attribute 'displaySystem'試したドキュメントの 2 つのコードにエラーがあります。最初のコード:
2番目のコード:
パッケージ「magpylib」が適切にインストールされているかどうかを確認しましたが、問題ありません...