learning Matplotlib, several little questions...

i everyone i have this code :

1) if i write alos this part of code, the resulting picture does not show
the graph any longer, would you have an idea why ?

2) i dont really understand why sometimes i have to write plt.something, and
sometimes, thougt, only lafigure.something works ???

3) i have read and read these pages :
https://matplotlib.org/users/pyplot_tutorial.html
<https://matplotlib.org/users/pyplot_tutorial.html>
http://python-simple.com/python-matplotlib/configuration-axes.php
<http://python-simple.com/python-matplotlib/configuration-axes.php>
http://matplotlib.org/examples/pylab_examples/spine_placement_demo.html
<http://matplotlib.org/examples/pylab_examples/spine_placement_demo.html>
https://matplotlib.org/api/pyplot_api.html
<https://matplotlib.org/api/pyplot_api.html>

and i cant manage to find how to display/hide the axis (x axis and y axis)
because the word "axis" seems to be assigned to parameter the window...

thansk for your help, it is less urgent for me, i can start working without
teses answers

Vincent

···

-----
        ???
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06?13?11?07?26
          Bagn?res de Bigorre 65200

Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-f3.html

Hey Vincent,

Unfortunately your code didn't get through (at least the gmail filters).

Could you post a link to gist on github (or similar).

As for the pyplot API vs the object oriented API, it's a matter convenience
(pyplot) versus explicitness (fig.<method>, ax.<method>.

If you're tinkering with some data in an interactive environment, use the
pyplot API if you like it,

Personally, I always use the O-O API, even in an exploratory context (e.g.,
Jupyter notebooks.).

···

On Sat, Dec 2, 2017 at 11:26 PM, vincent_mathoscope < mathoscope at netcourrier.com> wrote:

i everyone i have this code :

1) if i write alos this part of code, the resulting picture does not show
the graph any longer, would you have an idea why ?

2) i dont really understand why sometimes i have to write plt.something,
and
sometimes, thougt, only lafigure.something works ???

3) i have read and read these pages :
https://matplotlib.org/users/pyplot_tutorial.html
<https://matplotlib.org/users/pyplot_tutorial.html>
http://python-simple.com/python-matplotlib/configuration-axes.php
<http://python-simple.com/python-matplotlib/configuration-axes.php>
http://matplotlib.org/examples/pylab_examples/spine_placement_demo.html
<http://matplotlib.org/examples/pylab_examples/spine_placement_demo.html>
https://matplotlib.org/api/pyplot_api.html
<https://matplotlib.org/api/pyplot_api.html>

and i cant manage to find how to display/hide the axis (x axis and y axis)
because the word "axis" seems to be assigned to parameter the window...

thansk for your help, it is less urgent for me, i can start working without
teses answers

Vincent

-----
        ???
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06?13?11?07?26
          Bagn?res de Bigorre 65200

Sent from: http://matplotlib.1069221.n5.nabble.com/matplotlib-users-
f3.html
_______________________________________________
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/20171203/802699b3/attachment.html>