Skip to content

Commit c7a3e47

Browse files
fix replacement key for deprecated option display.height
replacement key for deprecated option `display.height` was set to `display.height` itself. I believe it should be `display.max_rows` instead. This avoid a weird message in `describe_option()` : display.height: [default: 60] [currently: 60] : int Deprecated. (Deprecated, use `display.height` instead.)
1 parent f9e0b7d commit c7a3e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/config_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def mpl_style_cb(key):
252252

253253
cf.deprecate_option('display.height',
254254
msg=pc_height_deprecation_warning,
255-
rkey='display.height')
255+
rkey='display.max_rows')
256256

257257
tc_sim_interactive_doc = """
258258
: boolean

0 commit comments

Comments
 (0)