Skip to content

Commit 4faad91

Browse files
committed
fix matplotlib import
1 parent fbbc9d6 commit 4faad91

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

plotly/matplotlylib/mplexporter/tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from numpy.testing import assert_allclose, assert_equal
2-
from .. import utils
31
import matplotlib.pyplot as plt
2+
from numpy.testing import assert_allclose, assert_equal
43

4+
from .. import utils
55

66
def test_path_data():
77
circle = plt.Circle((0, 0), 1)

plotly/matplotlylib/tests/test_renderer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
import matplotlib.pyplot as plt
12
import plotly.tools as tls
23

3-
from . import plt
4-
54

65
def test_native_legend_enabled_when_matplotlib_legend_present():
76
"""Test that when matplotlib legend is present, Plotly uses native legend."""

0 commit comments

Comments
 (0)