uaf-arctic-eco-modeling / dvm-dos-tem

A process based Dynamic Vegetation, Dynamic Organic Soil, Terrestrial Ecosystem Model.
MIT License
22 stars 24 forks source link

Turn off "squeezing" dimensions of subplots when plotting Sensitivity… #697

Closed tobeycarman closed 7 months ago

tobeycarman commented 8 months ago

… parameters.

By default if you call plt.subplots(...) with a dimension of 1 for rows or columns, it "squeezes" that dimension out, which changes the dimensions of the returned object (list of Axes.Subplots). In this case that is not desireable because later code tries to index into this list.