問題タブ [swarmplot]
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-3.x - Seaborn Swarmplot が永続的に実行され、Jupyter Notebook でプロットが印刷されない
Pandas データフレームには、これら 3 つの列「user_fair、user_good、rating」があります。
sns.swarmplot
「user_fair vs rating」および「user_good vs rating」をプロットするために使用しています。
「user_fair vs rating」は正常に動作しますが、「user_good vs rating」をプロットしようとすると、コードが永遠に実行され、プロットが出力されません。と を使用Python3
してJupyter Notebook
います。
これは私が使用しているコードです:
python-3.x - 単一の軸でseabornのcatplotを使用するが、色相を指定する
単一の軸で使用しようとしてswarmplot
いますが、カテゴリに基づいてデータ ポイントの色が異なります。
次に例を示します。
上記は次の場合に失敗します。
y
フィールドを提供せずにこれを機能させる方法はありますか?