numbering of x axis

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

numbering of x axis

vincent_mathoscope
on these pictures you can see that the x-axe-numbering  is truncated
i tryed 
'''
fig.tight_layout()  # to nicely fit the subplot(s) in the figure
'''
but the picture gets a too large white band around
i would like just to increase the margin under the figure so that the x numbering be visible
how to do it ?
i spend time on http://matplotlib.org/api/pyplot_api.html but dont always find what i am looking for
thanks
        ––––––––––––––––––––––––––
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06°13°11°07°26
          Bagnères de Bigorre 65200





_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-users
        ––––––––––––––––––––––––––
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06°13°11°07°26
          Bagnères de Bigorre 65200
Reply | Threaded
Open this post in threaded view
|

Re: numbering of x axis

vincent.adrien@gmail.com
Hi Vincent,

Would
```
fig.tight_layout(pad=0.0)
```
be of any help? See for example
http://matplotlib.org/api/_as_gen/matplotlib.figure.Figure.html?#matplotlib.figure.Figure.tight_layout 
for the parameters that `tight_layout` accepts.

Adrien

On 12/13/2017 10:50 AM, Vincent Douce Mathoscope wrote:

> on these pictures you can see that the x-axe-numbering  is truncated
> i tryed
> '''
> fig.tight_layout()  # to nicely fit the subplot(s) in the figure
> '''
> but the picture gets a too large white band around
> i would like just to increase the margin under the figure so that the x
> numbering be visible
> how to do it ?
> i spend time on http://matplotlib.org/api/pyplot_api.html but dont
> always find what i am looking for
> thanks
>          ––––––––––––––––––––––––––
>                    Vincent Douce
>                 :=: Mathoscope :=:
> http://mathoscope.xyz
>                   06°13°11°07°26
>            Bagnères de Bigorre 65200
>
>
>
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> [hidden email]
> https://mail.python.org/mailman/listinfo/matplotlib-users
>

_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-users
Reply | Threaded
Open this post in threaded view
|

Re: numbering of x axis

vincent_mathoscope
thanks Adrien
wonderful
Vincent

> Le 13 déc. 2017 à 20:05, [hidden email] a écrit :
>
> Hi Vincent,
>
> Would
> ```
> fig.tight_layout(pad=0.0)
> ```
> be of any help? See for example http://matplotlib.org/api/_as_gen/matplotlib.figure.Figure.html?#matplotlib.figure.Figure.tight_layout for the parameters that `tight_layout` accepts.
>
> Adrien
>
> On 12/13/2017 10:50 AM, Vincent Douce Mathoscope wrote:
>> on these pictures you can see that the x-axe-numbering  is truncated
>> i tryed
>> '''
>> fig.tight_layout()  # to nicely fit the subplot(s) in the figure
>> '''
>> but the picture gets a too large white band around
>> i would like just to increase the margin under the figure so that the x numbering be visible
>> how to do it ?
>> i spend time on http://matplotlib.org/api/pyplot_api.html but dont always find what i am looking for
>> thanks
>>         ––––––––––––––––––––––––––
>>                   Vincent Douce
>>                :=: Mathoscope :=:
>> http://mathoscope.xyz
>>                  06°13°11°07°26
>>           Bagnères de Bigorre 65200
>> _______________________________________________
>> Matplotlib-users mailing list
>> [hidden email]
>> https://mail.python.org/mailman/listinfo/matplotlib-users
>

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





_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-users
        ––––––––––––––––––––––––––
                  Vincent Douce
               :=: Mathoscope :=:
             http://mathoscope.xyz
                 06°13°11°07°26
          Bagnères de Bigorre 65200