Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18b2655

Browse files
committed
Add check for mpl-style datetime data.
1 parent 7456d1e commit 18b2655

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plotly/tests/test_optional/test_matplotlylib/test_date_times.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ def test_normal_mpl_dates(self):
3737
print date_strings
3838
print pfig['data'][0]['x']
3939
# we use the same format here, so we expect equality here
40+
self.assertEqual(
41+
fig.axes[0].lines[0].get_xydata()[0][0], 7.33776000e+05
42+
)
4043
self.assertEqual(pfig['data'][0]['x'], date_strings)

0 commit comments

Comments
 (0)