Skip to content

Commit

Permalink
DEPR REF: hide(axis=..) replaces hide_index and hide_columns (#…
Browse files Browse the repository at this point in the history
…43771)

Co-authored-by: JHM Darbyshire (iMac) <attack68@users.noreply.github.com>
  • Loading branch information
attack68 and attack68 committed Oct 30, 2021
1 parent e394c53 commit 80789b8
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 192 deletions.
3 changes: 1 addition & 2 deletions doc/source/reference/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ Style application
Styler.applymap_index
Styler.format
Styler.format_index
Styler.hide_index
Styler.hide_columns
Styler.hide
Styler.set_td_classes
Styler.set_table_styles
Styler.set_table_attributes
Expand Down
3 changes: 2 additions & 1 deletion doc/source/whatsnew/v1.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ Styler
- 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`)
- Global options have been extended to configure default ``Styler`` properties including formatting and encoding and mathjax options and LaTeX (:issue:`41395`)
- Naive sparsification is now possible for LaTeX without the multirow package (:issue:`43369`)
- :meth:`Styler.to_html` omits CSSStyle rules for hidden table elements (:issue:`43619`)
- :meth:`.Styler.to_html` omits CSSStyle rules for hidden table elements (:issue:`43619`)
- Custom CSS classes can now be directly specified without string replacement (:issue:`43686`)
- Bug where row trimming failed to reflect hidden rows (:issue:`43703`)
- Update and expand the export and use mechanics (:issue:`40675`)
- New method :meth:`.Styler.hide` added and deprecates :meth:`.Styler.hide_index` and :meth:`.Styler.hide_columns` (:issue:`43758`)

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

Expand Down
Loading

0 comments on commit 80789b8

Please sign in to comment.