Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b6326d

Browse files
committed
DOC: move autofmt_xdata whats new
1 parent 28afbf6 commit 1b6326d

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

doc/users/whats_new.rst

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,25 @@ Example
415415
ax2.set_title('Shading Off')
416416

417417
plt.show()
418+
419+
420+
New which Parameter for ``autofmt_xdate``
421+
-----------------------------------------
422+
423+
A ``which`` parameter now exists for the method
424+
:func:`~matplotlib.figure.Figure.autofmt_xdate`. This allows a user to format
425+
``major``, ``minor`` or ``both`` tick labels selectively. If ``which`` is
426+
``None`` (default) then the method will rotate ``major`` tick labels.
427+
428+
Example
429+
~~~~~~~
430+
::
431+
432+
fig.autofmt_xdate(bottom=0.2, rotation=30, ha='right', which='minor')
433+
434+
435+
436+
418437
Internals
419438
+++++++++
420439

@@ -479,21 +498,6 @@ Pending
479498

480499

481500

482-
New which Parameter for autofmt_xdate
483-
-------------------------------------
484-
485-
A ``which`` parameter now exists for the method
486-
:func:`~matplotlib.figure.Figure.autofmt_xdate`. This allows a user to format
487-
``major``, ``minor`` or ``both`` tick labels selectively. If ``which`` is
488-
``None`` (default) then the method will rotate ``major`` tick labels.
489-
490-
Example
491-
~~~~~~~
492-
::
493-
494-
fig.autofmt_xdate(bottom=0.2, rotation=30, ha='right', which='minor')
495-
496-
497501
New Figure Parameter for subplot2grid
498502
-------------------------------------
499503

0 commit comments

Comments
 (0)