-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves rendering of complex LaTeX expressions as
long_name
s when …
…plotting (#5682) * try to wrap texts differently if they're latex code * added space around modulo operator * prevents breaking up of long words * added test for label_from_attrs() function with a long latex string * Update xarray/plot/utils.py Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> * Update xarray/tests/test_utils.py Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> * moved test_latex_name_isnt_split() to test_plots * Apply suggestions from code review * fixed test_latex_name_isnt_split() * ran code through pre-commit * updated whats-new.rst Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
- Loading branch information
1 parent
2705c63
commit 4109966
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters