Skip to content

Commit fa41855

Browse files
committed
formatting
1 parent 3cde19b commit fa41855

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/test_pandas_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import matplotlib.pyplot as plt
2-
import pandas as pd
32

3+
import pandas as pd
44
from helpers import assert_equality
55

66

tikzplotlib/axes.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import matplotlib as mpl
22
import numpy
3-
from matplotlib.backends.backend_pgf import common_texification as mpl_common_texification
3+
from matplotlib.backends.backend_pgf import (
4+
common_texification as mpl_common_texification,
5+
)
46

57
from . import color
68

79

810
def _common_texification(string):
11+
# Work around <https://github.com/matplotlib/matplotlib/issues/15493>
912
return mpl_common_texification(string).replace("&", "\\&")
1013

1114

0 commit comments

Comments
 (0)