diff --git a/anaconda_projects/db/project_filebrowser.db b/anaconda_projects/db/project_filebrowser.db new file mode 100644 index 00000000..6fab372a Binary files /dev/null and b/anaconda_projects/db/project_filebrowser.db differ diff --git a/docs/source/tutorials/compose_own_plot.ipynb b/docs/source/tutorials/compose_own_plot.ipynb index 32e921e2..8de50889 100644 --- a/docs/source/tutorials/compose_own_plot.ipynb +++ b/docs/source/tutorials/compose_own_plot.ipynb @@ -1973,7 +1973,7 @@ "id": "dd24d6b5-e60f-4bce-a569-da0ae39360c1", "metadata": {}, "source": [ - "Recall that faceting and aesthetics are independent mappings, allowing for highly flexible customization. For details on how to use those arguments, see `TODO: add reference`" + "Recall that faceting and aesthetics are independent mappings, allowing for highly flexible customization. For details on how to use those arguments, see the {class}`~arviz_plots.PlotCollection` API reference." ] }, { @@ -3088,9 +3088,9 @@ ], "metadata": { "kernelspec": { - "display_name": "arviz_1", + "display_name": "Python [conda env:base] *", "language": "python", - "name": "python3" + "name": "conda-base-py" }, "language_info": { "codemirror_mode": { diff --git a/src/arviz_plots/backend/none/core.py b/src/arviz_plots/backend/none/core.py index 20662b7b..8ff00385 100644 --- a/src/arviz_plots/backend/none/core.py +++ b/src/arviz_plots/backend/none/core.py @@ -186,6 +186,9 @@ def create_plotting_grid( plots[idx] = None if i + 1 > number else [] if squeeze: plots = plots.squeeze() + if squeeze and isinstance(plots, np.ndarray) and plots.shape == (): + plots = np.array([plots.item()], dtype=object) + if not ALLOW_KWARGS: if subplot_kws: raise ValueError("'subplot_kws' is not empty")