Skip to content

Commit a0de8c9

Browse files
authored
Merge pull request #5361 from plotly/matplotlib-import-fix
Fix matplotlib import (pt.2)
2 parents b258862 + 832b46c commit a0de8c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plotly/matplotlylib/mplexporter/tests/test_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import matplotlib.pyplot as plt
12
from numpy.testing import assert_allclose, assert_equal
3+
24
from .. import utils
3-
import matplotlib.pyplot as plt
45

56

67
def test_path_data():

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)