[Matplotlib-users] empty scatter

Paul Hobson pmhobson at gmail.com
Mon Dec 25 17:38:02 EST 2017


Vincent,

I think you want to use `plot` with no line, like so:


from matplotlib import pyplot
fig, ax = pyplot.subplots()
ax.plot([1, 2, 3], [3, 6, 1],
        linestyle='none', marker='o',
        markeredgecolor='k',
        markerfacecoloir='none')

On Mon, Dec 25, 2017 at 12:48 PM, Vincent Douce Mathoscope <
mathoscope at netcourrier.com> wrote:

> hi
> i can not find on the documentation of matplotlib if a scatter can be empty
> i have made a program that calculates the position of the finger on a
> guitar :
> https://mathoscope.wordpress.com/2017/12/25/mathematiques-pour-la-guitare/
> you can see the source code here by clicking on "programme.txt"
> http://mathoscope.ouvaton.org/mathoscope_xyz/Informatique/
> distributeur.php?mot=gammes
> i would like the grey scaters on the left (coresponding to the chords
> played withou pressing them or "cordes à vide") to be black but empty like
> a "O"
> of course i can calculate a circle...
> do you think there is a means to have an empty scatter ?
>         ––––––––––––––––––––––––––
>                   Vincent Douce
>                :=: Mathoscope :=:
>              http://mathoscope.xyz
>                  06°13°11°07°26
>           Bagnères de Bigorre 65200
>
>
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20171225/2fe172b5/attachment.html>


More information about the Matplotlib-users mailing list