Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added anaconda_projects/db/project_filebrowser.db
Binary file not shown.
6 changes: 3 additions & 3 deletions docs/source/tutorials/compose_own_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
{
Expand Down Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions src/arviz_plots/backend/none/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Loading