<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Previously working example documentation code using tight_layout() and constrained_layout now produces errors.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<p dir="auto">One of the failing codes (<a href="https://github.com/NCAR/GeoCAT-examples/blob/master/Plots/Streamlines/NCL_stream_1.py">github link</a>):</p>

<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&quot;&quot;&quot;
NCL_stream_1.py
===============
This script illustrates the following concepts:
   - Drawing a black-and-white streamline plot over a map

See following URLs to see the reproduced NCL plot &amp; script:
    - Original NCL script: https://www.ncl.ucar.edu/Applications/Scripts/stream_1.ncl
    - Original NCL plot: https://www.ncl.ucar.edu/Applications/Images/stream_1_lg.png

Note: The streamlines generated in this plot approximate, but do not exactly
match those generated by the NCL version. This is primarily because the 
seed point generation algorithm used by NCL is opaque.
&quot;&quot;&quot;

################################################################################
# Import packages:
import numpy as np
import xarray as xr
import cartopy.crs as ccrs
import matplotlib.pyplot as plt
import cartopy.feature as cfeature

import geocat.datafiles as gdf
from geocat.viz import util as gvutil

################################################################################
# Read in data:

# Open a netCDF data file using xarray default engine and load the data into xarrays
ds = xr.open_dataset(gdf.get('netcdf_files/uvt.nc'))
# Extract a 2D horizontal slice from the first time step of the 3D U and V variables at the bottom level
U = ds.U.isel(time=0, lev=0)
V = ds.V.isel(time=0, lev=0)

################################################################################
# Plot:

# Generate figure (set its size (width, height) in inches)
plt.figure(figsize=(16, 8))

# Generate axes using Cartopy projection
projection = ccrs.PlateCarree()
ax = plt.axes(projection=projection)

# Use global map
ax.set_global()

# Stream-plot the data
# There is no Xarray streamplot function, yet. So need to call matplotlib.streamplot directly. Not sure why, but can't
# pass xarray.DataArray objects directly: fetch NumPy arrays via 'data' attribute'
ax.streamplot(U.lon.data,
              U.lat.data,
              U.data,
              V.data,
              linewidth=1,
              density=4,
              color='black',
              zorder=1)


# Show the plot
plt.tight_layout()
plt.show()
"><pre class="notranslate"><span class="pl-s">"""</span>
<span class="pl-s">NCL_stream_1.py</span>
<span class="pl-s">===============</span>
<span class="pl-s">This script illustrates the following concepts:</span>
<span class="pl-s">   - Drawing a black-and-white streamline plot over a map</span>
<span class="pl-s"></span>
<span class="pl-s">See following URLs to see the reproduced NCL plot &amp; script:</span>
<span class="pl-s">    - Original NCL script: https://www.ncl.ucar.edu/Applications/Scripts/stream_1.ncl</span>
<span class="pl-s">    - Original NCL plot: https://www.ncl.ucar.edu/Applications/Images/stream_1_lg.png</span>
<span class="pl-s"></span>
<span class="pl-s">Note: The streamlines generated in this plot approximate, but do not exactly</span>
<span class="pl-s">match those generated by the NCL version. This is primarily because the </span>
<span class="pl-s">seed point generation algorithm used by NCL is opaque.</span>
<span class="pl-s">"""</span>

<span class="pl-c">################################################################################</span>
<span class="pl-c"># Import packages:</span>
<span class="pl-k">import</span> <span class="pl-s1">numpy</span> <span class="pl-k">as</span> <span class="pl-s1">np</span>
<span class="pl-k">import</span> <span class="pl-s1">xarray</span> <span class="pl-k">as</span> <span class="pl-s1">xr</span>
<span class="pl-k">import</span> <span class="pl-s1">cartopy</span>.<span class="pl-s1">crs</span> <span class="pl-k">as</span> <span class="pl-s1">ccrs</span>
<span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-k">import</span> <span class="pl-s1">cartopy</span>.<span class="pl-s1">feature</span> <span class="pl-k">as</span> <span class="pl-s1">cfeature</span>

<span class="pl-k">import</span> <span class="pl-s1">geocat</span>.<span class="pl-s1">datafiles</span> <span class="pl-k">as</span> <span class="pl-s1">gdf</span>
<span class="pl-k">from</span> <span class="pl-s1">geocat</span>.<span class="pl-s1">viz</span> <span class="pl-k">import</span> <span class="pl-s1">util</span> <span class="pl-k">as</span> <span class="pl-s1">gvutil</span>

<span class="pl-c">################################################################################</span>
<span class="pl-c"># Read in data:</span>

<span class="pl-c"># Open a netCDF data file using xarray default engine and load the data into xarrays</span>
<span class="pl-s1">ds</span> <span class="pl-c1">=</span> <span class="pl-s1">xr</span>.<span class="pl-en">open_dataset</span>(<span class="pl-s1">gdf</span>.<span class="pl-en">get</span>(<span class="pl-s">'netcdf_files/uvt.nc'</span>))
<span class="pl-c"># Extract a 2D horizontal slice from the first time step of the 3D U and V variables at the bottom level</span>
<span class="pl-v">U</span> <span class="pl-c1">=</span> <span class="pl-s1">ds</span>.<span class="pl-v">U</span>.<span class="pl-en">isel</span>(<span class="pl-s1">time</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">lev</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)
<span class="pl-v">V</span> <span class="pl-c1">=</span> <span class="pl-s1">ds</span>.<span class="pl-v">V</span>.<span class="pl-en">isel</span>(<span class="pl-s1">time</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">lev</span><span class="pl-c1">=</span><span class="pl-c1">0</span>)

<span class="pl-c">################################################################################</span>
<span class="pl-c"># Plot:</span>

<span class="pl-c"># Generate figure (set its size (width, height) in inches)</span>
<span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">16</span>, <span class="pl-c1">8</span>))

<span class="pl-c"># Generate axes using Cartopy projection</span>
<span class="pl-s1">projection</span> <span class="pl-c1">=</span> <span class="pl-s1">ccrs</span>.<span class="pl-v">PlateCarree</span>()
<span class="pl-s1">ax</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">axes</span>(<span class="pl-s1">projection</span><span class="pl-c1">=</span><span class="pl-s1">projection</span>)

<span class="pl-c"># Use global map</span>
<span class="pl-s1">ax</span>.<span class="pl-en">set_global</span>()

<span class="pl-c"># Stream-plot the data</span>
<span class="pl-c"># There is no Xarray streamplot function, yet. So need to call matplotlib.streamplot directly. Not sure why, but can't</span>
<span class="pl-c"># pass xarray.DataArray objects directly: fetch NumPy arrays via 'data' attribute'</span>
<span class="pl-s1">ax</span>.<span class="pl-en">streamplot</span>(<span class="pl-v">U</span>.<span class="pl-s1">lon</span>.<span class="pl-s1">data</span>,
              <span class="pl-v">U</span>.<span class="pl-s1">lat</span>.<span class="pl-s1">data</span>,
              <span class="pl-v">U</span>.<span class="pl-s1">data</span>,
              <span class="pl-v">V</span>.<span class="pl-s1">data</span>,
              <span class="pl-s1">linewidth</span><span class="pl-c1">=</span><span class="pl-c1">1</span>,
              <span class="pl-s1">density</span><span class="pl-c1">=</span><span class="pl-c1">4</span>,
              <span class="pl-s1">color</span><span class="pl-c1">=</span><span class="pl-s">'black'</span>,
              <span class="pl-s1">zorder</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)


<span class="pl-c"># Show the plot</span>
<span class="pl-s1">plt</span>.<span class="pl-en">tight_layout</span>()
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/IPython/core/interactiveshell.py&quot;, line 3417, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File &quot;&lt;ipython-input-2-32ee43073f80&gt;&quot;, line 1, in &lt;module&gt;
    runfile('/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines/NCL_stream_1.py', wdir='/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines')
  File &quot;/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py&quot;, line 197, in runfile
    pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
  File &quot;/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py&quot;, line 18, in execfile
    exec(compile(contents+&quot;\n&quot;, file, 'exec'), glob, loc)
  File &quot;/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines/NCL_stream_1.py&quot;, line 64, in &lt;module&gt;
    plt.show()
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/pyplot.py&quot;, line 337, in show
    return _backend_mod.show(*args, **kwargs)
  File &quot;/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py&quot;, line 29, in __call__
    manager.show(**kwargs)
  File &quot;/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py&quot;, line 113, in show
    self.canvas.show()
  File &quot;/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py&quot;, line 68, in show
    self.figure.tight_layout()
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py&quot;, line 411, in wrapper
    return func(*inner_args, **inner_kwargs)
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/figure.py&quot;, line 2615, in tight_layout
    pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect)
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/tight_layout.py&quot;, line 308, in get_tight_layout_figure
    pad=pad, h_pad=h_pad, w_pad=w_pad)
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/tight_layout.py&quot;, line 84, in auto_adjust_subplotpars
    bb += [ax.get_tightbbox(renderer, for_layout_only=True)]
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/axes/_base.py&quot;, line 4203, in get_tightbbox
    bbox = a.get_tightbbox(renderer)
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/artist.py&quot;, line 286, in get_tightbbox
    bbox = Bbox.intersection(bbox, clip_path.get_extents())
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/path.py&quot;, line 603, in get_extents
    return Bbox([xys.min(axis=0), xys.max(axis=0)])
  File &quot;/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/numpy/core/_methods.py&quot;, line 43, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "&lt;ipython-input-2-32ee43073f80&gt;", line 1, in &lt;module&gt;
    runfile('/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines/NCL_stream_1.py', wdir='/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines')
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
    pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/Users/anissaz/Desktop/GeoCAT/GeoCAT-examples/Plots/Streamlines/NCL_stream_1.py", line 64, in &lt;module&gt;
    plt.show()
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/pyplot.py", line 337, in show
    return _backend_mod.show(*args, **kwargs)
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py", line 29, in __call__
    manager.show(**kwargs)
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py", line 113, in show
    self.canvas.show()
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pycharm_matplotlib_backend/backend_interagg.py", line 68, in show
    self.figure.tight_layout()
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
    return func(*inner_args, **inner_kwargs)
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/figure.py", line 2615, in tight_layout
    pad=pad, h_pad=h_pad, w_pad=w_pad, rect=rect)
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 308, in get_tight_layout_figure
    pad=pad, h_pad=h_pad, w_pad=w_pad)
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/tight_layout.py", line 84, in auto_adjust_subplotpars
    bb += [ax.get_tightbbox(renderer, for_layout_only=True)]
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 4203, in get_tightbbox
    bbox = a.get_tightbbox(renderer)
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/artist.py", line 286, in get_tightbbox
    bbox = Bbox.intersection(bbox, clip_path.get_extents())
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/matplotlib/path.py", line 603, in get_extents
    return Bbox([xys.min(axis=0), xys.max(axis=0)])
  File "/opt/anaconda3/envs/geocat-examples/lib/python3.7/site-packages/numpy/core/_methods.py", line 43, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity
</code></pre></div>
<p dir="auto"><a href="https://github.com/NCAR/GeoCAT-examples/pull/223/checks">Here is a link</a> to one of our current unmerged PRs with sphinx documentation generation failures for more than just this example, if that is helpful.</p>
<p dir="auto"><strong>Expected outcome</strong><br>
Used to produce the following image:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/38434768/90940442-054d3180-e3cc-11ea-98ce-3b8f3286d89b.png"><img src="https://user-images.githubusercontent.com/38434768/90940442-054d3180-e3cc-11ea-98ce-3b8f3286d89b.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Previously working example documented with readthedocs <a href="https://geocat-examples.readthedocs.io/en/latest/gallery/Streamlines/NCL_stream_1.html#sphx-glr-gallery-streamlines-ncl-stream-1-py" rel="nofollow">here</a></p>
<p dir="auto">Version 3.3.0 was the last version that did not experience this.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: MacOS (10.14.6)</li>
<li>Matplotlib version: 3.3.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): module://backend_interagg</li>
<li>Platform version: 3.7.8</li>
<li>Python version: Python 3.7.8</li>
<li>Numpy version: 1.19.1</li>
<li>Xarray version: 0.16.0</li>
<li>Cartopy version: 0.18.0</li>
</ul>


<p dir="auto">Installed matplotlib from conda environment</p>
<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto"><code class="notranslate">plt.scatter()</code> raises upon drawing when called with <code class="notranslate">marker=''</code> (no errors with 3.3.0).<br>
This change of behavior broke seaborn.</p>
<p dir="auto"><strong>Code for reproduction</strong></p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt
plt.scatter([], [], marker='')  # fails also with plt.scatter([1,2,3], [1,2,3], marker='')
plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span>
<span class="pl-s1">plt</span>.<span class="pl-en">scatter</span>([], [], <span class="pl-s1">marker</span><span class="pl-c1">=</span><span class="pl-s">''</span>)  <span class="pl-c"># fails also with plt.scatter([1,2,3], [1,2,3], marker='')</span>
<span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/backends/backend_macosx.py&quot;, line 61, in _draw
    self.figure.draw(renderer)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/figure.py&quot;, line 1863, in draw
    mimage._draw_list_compositing_images(
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images
    a.draw(renderer)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py&quot;, line 411, in wrapper
    return func(*inner_args, **inner_kwargs)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/axes/_base.py&quot;, line 2748, in draw
    mimage._draw_list_compositing_images(renderer, self, artists)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py&quot;, line 131, in _draw_list_compositing_images
    a.draw(renderer)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py&quot;, line 931, in draw
    Collection.draw(self, renderer)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py&quot;, line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py&quot;, line 385, in draw
    extents = paths[0].get_extents(combined_transform)
  File &quot;/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/path.py&quot;, line 603, in get_extents
    return Bbox([xys.min(axis=0), xys.max(axis=0)])
  File &quot;/Users/maoz/miniconda/envs/seaborn_devenv/lib/python3.8/site-packages/numpy/core/_methods.py&quot;, line 43, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/backends/backend_macosx.py", line 61, in _draw
    self.figure.draw(renderer)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
    mimage._draw_list_compositing_images(
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
    a.draw(renderer)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
    return func(*inner_args, **inner_kwargs)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2748, in draw
    mimage._draw_list_compositing_images(renderer, self, artists)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
    a.draw(renderer)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py", line 931, in draw
    Collection.draw(self, renderer)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/collections.py", line 385, in draw
    extents = paths[0].get_extents(combined_transform)
  File "/Users/maoz/.local/lib/python3.8/site-packages/matplotlib/path.py", line 603, in get_extents
    return Bbox([xys.min(axis=0), xys.max(axis=0)])
  File "/Users/maoz/miniconda/envs/seaborn_devenv/lib/python3.8/site-packages/numpy/core/_methods.py", line 43, in _amin
    return umr_minimum(a, axis, None, out, keepdims, initial, where)
ValueError: zero-size array to reduction operation minimum which has no identity
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>
<p dir="auto">Not to fail.</p>
<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: MacOS</li>
<li>Matplotlib version: 3.3.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): MacOSX (also reproduces with %inline)</li>
<li>Python version: 3.8.3</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries: numpy 1.19.1</li>
</ul>


<p dir="auto">matplotlib installed through pip</p>