Skip to content

Commit e7f2181

Browse files
committed
Fix dependency issues in CI workflows
1 parent f560b2b commit e7f2181

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/plotting/test_groupby.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Test cases for GroupBy.plot"""
22

3-
import matplotlib.pyplot as plt
43
import numpy as np
54
import pytest
65

@@ -157,6 +156,8 @@ def test_groupby_hist_series_with_legend_raises(self):
157156
def test_groupby_scatter_colors_differ(self):
158157
# GH 59846 - Test that scatter plots use different colors for different groups
159158
# similar to how line plots do
159+
import matplotlib.pyplot as plt
160+
160161
df = DataFrame(
161162
{
162163
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9],

0 commit comments

Comments
 (0)