Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c5e2b6

Browse files
committed
fix matplotlib import
1 parent fbbc9d6 commit 2c5e2b6

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)

AltStyle によって変換されたページ (->オリジナル) /