<h3 dir="auto">Bug report</h3>
<p dir="auto"><strong>Bug summary</strong></p>
<p dir="auto">Setting <code class="notranslate">maker</code> in a scatter plot is causing <code class="notranslate">ValueError</code></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
f = plt.figure()
s = plt.scatter([1, 2, 3], [4, 5, 6], marker=&quot;&quot;)"><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">f</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>()
<span class="pl-s1">s</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">scatter</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], [<span class="pl-c1">4</span>, <span class="pl-c1">5</span>, <span class="pl-c1">6</span>], <span class="pl-s1">marker</span><span class="pl-c1">=</span><span class="pl-s">""</span>)</pre></div>
<p dir="auto">removing the marker option plots the scatter graph. I refered to the <a href="https://matplotlib.org/3.1.1/api/markers_api.html" rel="nofollow">docs</a> for valid marker options <code class="notranslate">text</code> shorthand and it seems none of them work.</p>
<p dir="auto"><strong>Actual outcome</strong></p>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;matplotlib.collections.PathCollection at 0x7f9d2bd8cee0&gt;
...
ValueError: zero-size array to reduction operation minimum which has no identity

&lt;Figure size 432x288 with 1 Axes&gt;"><pre class="notranslate"><code class="notranslate">&lt;matplotlib.collections.PathCollection at 0x7f9d2bd8cee0&gt;
...
ValueError: zero-size array to reduction operation minimum which has no identity

&lt;Figure size 432x288 with 1 Axes&gt;
</code></pre></div>
<p dir="auto"><strong>Expected outcome</strong></p>


<p dir="auto"><strong>Matplotlib version</strong></p>

<ul dir="auto">
<li>Operating system: OS X</li>
<li>Matplotlib version: 3.3.1</li>
<li>Matplotlib backend (<code class="notranslate">print(matplotlib.get_backend())</code>): module://ipykernel.pylab.backend_inline</li>
<li>Python version: 3.8</li>
<li>Jupyter version (if applicable):</li>
<li>Other libraries: 1.19.1</li>
</ul>


<p dir="auto">used conda with the following <code class="notranslate">environment.yml</code> file</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="name: qe-lectures
channels:
  - default
  - conda-forge
dependencies:
  - pip
  - python
  - jupyter
  - jupyterlab
  - nbconvert
  - pandoc
  - pandas
  - numba
  - numpy
  - matplotlib
  - networkx
  - sphinx=2.4.4
  - scikit-learn
  - statsmodels
  - seaborn
  - scipy
  - sympy
  - pip:
    - interpolation
    - sphinxcontrib-jupyter
    - sphinxcontrib-bibtex
    - joblib"><pre class="notranslate"><span class="pl-ent">name</span>: <span class="pl-s">qe-lectures</span>
<span class="pl-ent">channels</span>:
  - <span class="pl-s">default</span>
  - <span class="pl-s">conda-forge</span>
<span class="pl-ent">dependencies</span>:
  - <span class="pl-s">pip</span>
  - <span class="pl-s">python</span>
  - <span class="pl-s">jupyter</span>
  - <span class="pl-s">jupyterlab</span>
  - <span class="pl-s">nbconvert</span>
  - <span class="pl-s">pandoc</span>
  - <span class="pl-s">pandas</span>
  - <span class="pl-s">numba</span>
  - <span class="pl-s">numpy</span>
  - <span class="pl-s">matplotlib</span>
  - <span class="pl-s">networkx</span>
  - <span class="pl-s">sphinx=2.4.4</span>
  - <span class="pl-s">scikit-learn</span>
  - <span class="pl-s">statsmodels</span>
  - <span class="pl-s">seaborn</span>
  - <span class="pl-s">scipy</span>
  - <span class="pl-s">sympy</span>
  - <span class="pl-ent">pip</span>:
    - <span class="pl-s">interpolation</span>
    - <span class="pl-s">sphinxcontrib-jupyter</span>
    - <span class="pl-s">sphinxcontrib-bibtex</span>
    - <span class="pl-s">joblib</span></pre></div>
<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>