Skip to content

Commit 0e3c2ea

Browse files
committed
make black
1 parent b791e41 commit 0e3c2ea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

matplotlib2tikz/line2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def _table(obj, data):
257257
elif isinstance(xdata_alt[0], str):
258258
data["current axes"].axis_options += [
259259
"xtick={{{}}}".format(",".join([ff.format(x) for x in xdata])),
260-
"xticklabels={{{}}}".format(",".join(xdata_alt))
260+
"xticklabels={{{}}}".format(",".join(xdata_alt)),
261261
]
262262
xdata, ydata = transform_to_data_coordinates(obj, xdata, ydata)
263263
else:

test/test_pandas_dataframe.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
def plot():
1010
fig = plt.figure(1, figsize=(8, 5))
11-
df = pd.DataFrame(index=['one', 'two', 'three'], data={'data': [1, 2, 3]})
12-
plt.plot(df, 'o')
11+
df = pd.DataFrame(index=["one", "two", "three"], data={"data": [1, 2, 3]})
12+
plt.plot(df, "o")
1313
return fig
1414

1515

0 commit comments

Comments
 (0)