Skip to content

Commit 4c51645

Browse files
committed
Deprecate rcParams["datapath"] in favor of mpl.get_data_path().
The rcParam cannot be meaningfully set by the end user from their matplotlibrc or Python code.
1 parent bb7f9b9 commit 4c51645

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/api/next_api_changes/deprecations.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,3 +376,8 @@ NavigationToolbar2QT.parent
376376
This attribute is deprecated. In order to access the parent window, use
377377
``toolbar.canvas.parent()``. Once the deprecation period is elapsed, it will
378378
also be accessible as ``toolbar.parent()``.
379+
380+
The ``datapath`` rcParam
381+
~~~~~~~~~~~~~~~~~~~~~~~~
382+
Use `.get_data_path` instead. (The rcParam is deprecated because it cannot be
383+
meaningfully set by an end user.) This was deprecated only in 3.2.1.

0 commit comments

Comments
 (0)