diff --git a/notebooks/pca_examples.ipynb b/notebooks/pca_examples.ipynb index 6d31a3c..3f2485d 100644 --- a/notebooks/pca_examples.ipynb +++ b/notebooks/pca_examples.ipynb @@ -264,7 +264,7 @@ }, "source": [ "# Make plot with only the directions (no scatter)\n", - "fig, ax = model.biplot(legend=False, figsize=(20, 10), dpi=50)" + "fig, ax = model.biplot(legend=False, figsize=(20, 12), dpi=50, cmap='Set1')" ], "execution_count": null, "outputs": [ @@ -301,7 +301,7 @@ }, "source": [ "# Make plot with only the directions (no scatter)\n", - "fig, ax = model.biplot(cmap=None, legend=False, figsize=(20, 10), dpi=50)" + "fig, ax = model.biplot(cmap=None, legend=False, figsize=(20, 12), dpi=50, cmap='Set1')" ], "execution_count": null, "outputs": [ @@ -386,13 +386,13 @@ "# Make plots\n", "\n", "# Scree plot\n", - "fig, ax = model.plot(figsize=(20, 10), dpi=50)\n", + "fig, ax = model.plot(figsize=(20, 12), dpi=50)\n", "\n", "# Scatter plot\n", - "fig, ax = model.scatter(figsize=(20, 10), dpi=50)\n", + "fig, ax = model.scatter(figsize=(20, 12), dpi=50)\n", "\n", "# Biplot\n", - "fig, ax = model.biplot(figsize=(20, 10), dpi=50)\n" + "fig, ax = model.biplot(figsize=(20, 12), dpi=50, cmap='Set1')\n" ], "execution_count": null, "outputs": [ @@ -456,7 +456,7 @@ "# Coloring on density to focus on the core samples.\n", "\n", "# Biplot\n", - "fig, ax = model.biplot(figsize=(20, 10), dpi=50, gradient='#ffffff')\n" + "fig, ax = model.biplot(figsize=(20, 12), dpi=50, gradient='#ffffff', cmap='Set1')\n" ], "metadata": { "colab": { @@ -545,7 +545,7 @@ "cell_type": "code", "source": [ "# Outlier detection\n", - "fig, ax = model.biplot(SPE=True, HT2=True, figsize=(20, 10), dpi=50)" + "fig, ax = model.biplot(SPE=True, HT2=True, figsize=(20, 12), dpi=50, cmap='Set1')" ], "metadata": { "colab": { @@ -590,9 +590,9 @@ }, "source": [ "# 3D plots\n", - "fig, ax = model.scatter3d(figsize=(20, 10), dpi=50)\n", - "fig, ax = model.biplot3d(figsize=(20, 10), dpi=50)\n", - "fig, ax = model.biplot3d(SPE=True, HT2=True, figsize=(20, 10), dpi=50)" + "fig, ax = model.scatter3d(figsize=(20, 12), dpi=50)\n", + "fig, ax = model.biplot3d(figsize=(20, 12), dpi=50, cmap='Set1')\n", + "fig, ax = model.biplot3d(SPE=True, HT2=True, figsize=(20, 12), dpi=50, cmap='Set1')" ], "execution_count": null, "outputs": [ @@ -659,7 +659,7 @@ "outputId": "7e8be72a-3eaf-4f21-d790-5954e2a4beae" }, "source": [ - "fig, ax = model.biplot3d(SPE=True, HT2=True, visible=False, figsize=(20, 10), dpi=50)\n", + "fig, ax = model.biplot3d(SPE=True, HT2=True, visible=False, figsize=(20, 12), dpi=50, cmap='Set1')\n", "\n", "# Set the figure again to True and show the figure.\n", "fig.set_visible(True)\n",