You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
``matplotlib.pyplot.annotate()`` and ``matplotlib.pyplot.text()`` now support parameter ``antialiased`` when initializing.
4
+
``matplotlib.pyplot.annotate()`` and ``matplotlib.pyplot.text()`` now support parameter *antialiased* when initializing.
5
5
Examples:
6
6
7
7
.. code-block::
@@ -26,4 +26,4 @@ With this new feature, you may want to make sure that you are creating and savin
26
26
with rccontext(text.antialiased=False):
27
27
fig.savefig('/tmp/test.png')
28
28
29
-
Also note that antialiasing for tick labeles will be set with ``rcParams['text.antialiased']`` when they are created (usually when a ``Figure`` is created) - This means antialiasing for them can no longer be changed by modifying ``rcParams['text.antialiased']``.
29
+
Also note that antialiasing for tick labels will be set with :rc:`text.antialiased` when they are created (usually when a ``Figure`` is created) - This means antialiasing for them can no longer be changed by modifying :rc:`text.antialiased`.
``matplotlib.pyplot.annotate()`` and ``matplotlib.pyplot.text()`` now support parameter ``antialiased``.
4
-
When ``antialiased`` is set to ``True``, antialiasing will be applied to the text.
5
-
When ``antialiased`` is set to ``False``, antialiasing will not be applied to the text.
6
-
When ``antialiased`` is not specified, antialiasing will be set by ``rcParams['text.antialiased']`` at the creation time of ``Text`` and ``Annotation`` object.
3
+
``matplotlib.pyplot.annotate()`` and ``matplotlib.pyplot.text()`` now support parameter *antialiased*.
4
+
When *antialiased* is set to ``True``, antialiasing will be applied to the text.
5
+
When *antialiased* is set to ``False``, antialiasing will not be applied to the text.
6
+
When *antialiased* is not specified, antialiasing will be set by :rc:`text.antialiased` at the creation time of ``Text`` and ``Annotation`` object.
7
7
Examples:
8
8
9
9
.. code-block::
@@ -12,7 +12,7 @@ Examples:
12
12
plt.text(0.5, 0.5, '6 inches x 2 inches', antialiased=True)
Also note that antialiasing for tick labeles will be set with ``rcParams['text.antialiased']`` when they are created (usually when a ``Figure`` is created) and cannot be changed afterwards.
24
+
Also note that antialiasing for tick labels will be set with :rc:`text.antialiased` when they are created (usually when a ``Figure`` is created) and cannot be changed afterwards.
25
25
26
26
Furthermore, with this new feature, you may want to make sure that you are creating and saving/showing the figure under the same context::
0 commit comments