Skip to content

Commit 77f76d2

Browse files
committed
Fix typos
1 parent ca6c945 commit 77f76d2

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

doc/source/options.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ compute.use_bottleneck True Use the bottleneck library to a
431431
compute.use_numexpr True Use the numexpr library to accelerate
432432
computation if it is installed.
433433
plotting.mpl.converters True Register custom converters with
434-
matplotlib. Set to false to de-register.
434+
matplotlib. Set to False to de-register.
435435
=================================== ============ ==================================
436436

437437

pandas/core/config_init.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,7 @@ def use_inf_as_na_cb(key):
489489
: bool
490490
Whether to register converters with matplotlib's units registry for
491491
dates, times, datetimes, and Periods. Toggling to False will remove
492-
the converters, replacing them with any converters that pandas
493-
overwrote.
492+
the converters, restoring any converters that pandas overwrote.
494493
"""
495494

496495

pandas/plotting/_converter.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ def deregister():
9696
9797
Removes the custom converters added by :func:`register`. This
9898
attempts to set the state of the registry back to the state before
99-
pandas registered its own units. Conveters for our own types like
100-
Timestamp and Period are removed completely. Converters for, e.g.,
101-
datetime.datetime, which :func:`register` overwrites, are placed
102-
back to their original value.
99+
pandas registered its own units. Converters for pandas' own types like
100+
Timestamp and Period are removed completely. Converters for types
101+
pandas overwrites, like ``datetime.datetime``, are restored to their
102+
original value.
103103
104104
See Also
105105
--------
@@ -127,8 +127,8 @@ def _check_implicitly_registered():
127127
"by pandas on import. Future versions of pandas will require "
128128
"you to explicitly register matplotlib converters.\n\n"
129129
"To register the converters:\n\t"
130-
">>> from pandas.plotting import register_conveters\n\t"
131-
">>> register_conveters.register()")
130+
">>> from pandas.plotting import register_converters\n\t"
131+
">>> register_converters()")
132132
warnings.warn(msg, FutureWarning)
133133
_WARN = False
134134

0 commit comments

Comments
 (0)