Skip to content

Commit 80789b8

Browse files
authored
DEPR REF: hide(axis=..) replaces hide_index and hide_columns (#43771)
Co-authored-by: JHM Darbyshire (iMac) <[email protected]>
1 parent e394c53 commit 80789b8

File tree

8 files changed

+215
-192
lines changed

8 files changed

+215
-192
lines changed

doc/source/reference/style.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ Style application
4040
Styler.applymap_index
4141
Styler.format
4242
Styler.format_index
43-
Styler.hide_index
44-
Styler.hide_columns
43+
Styler.hide
4544
Styler.set_td_classes
4645
Styler.set_table_styles
4746
Styler.set_table_attributes

doc/source/whatsnew/v1.4.0.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ Styler
7979
- Keyword arguments ``level`` and ``names`` added to :meth:`.Styler.hide_index` and :meth:`.Styler.hide_columns` for additional control of visibility of MultiIndexes and index names (:issue:`25475`, :issue:`43404`, :issue:`43346`)
8080
- Global options have been extended to configure default ``Styler`` properties including formatting and encoding and mathjax options and LaTeX (:issue:`41395`)
8181
- Naive sparsification is now possible for LaTeX without the multirow package (:issue:`43369`)
82-
- :meth:`Styler.to_html` omits CSSStyle rules for hidden table elements (:issue:`43619`)
82+
- :meth:`.Styler.to_html` omits CSSStyle rules for hidden table elements (:issue:`43619`)
8383
- Custom CSS classes can now be directly specified without string replacement (:issue:`43686`)
8484
- Bug where row trimming failed to reflect hidden rows (:issue:`43703`)
8585
- Update and expand the export and use mechanics (:issue:`40675`)
86+
- New method :meth:`.Styler.hide` added and deprecates :meth:`.Styler.hide_index` and :meth:`.Styler.hide_columns` (:issue:`43758`)
8687

8788
Formerly Styler relied on ``display.html.use_mathjax``, which has now been replaced by ``styler.html.mathjax``.
8889

0 commit comments

Comments
 (0)