|
29 | 29 | image_comparison, |
30 | 30 | remove_ticks_and_titles) |
31 | 31 | from matplotlib.transforms import Bbox, TransformedBbox |
32 | | -from mpl_toolkits.axes_grid1.anchored_artists import ( |
33 | | - AnchoredDirectionArrows, |
34 | | - AnchoredSizeBar, |
35 | | -) |
36 | | -from mpl_toolkits.axes_grid1.axes_divider import ( |
37 | | - Divider, HBoxDivider, SubplotDivider, VBoxDivider, |
38 | | - make_axes_area_auto_adjustable) |
39 | | -from mpl_toolkits.axes_grid1.axes_rgb import RGBAxes |
40 | | -from mpl_toolkits.axes_grid1.inset_locator import (BboxConnectorPatch, |
41 | | - InsetPosition, inset_axes, |
42 | | - mark_inset, |
43 | | - zoomed_inset_axes) |
44 | | -from numpy.testing import assert_array_almost_equal, assert_array_equal |
45 | | - |
46 | | -<<<<<<< HEAD |
47 | | -import numpy as np |
48 | | -from numpy.testing import assert_array_equal, assert_array_almost_equal |
49 | | ->>>>>>> 955967cb46... formatting |
50 | | -======= |
51 | | -import matplotlib as mpl |
52 | | -import matplotlib.pyplot as plt |
53 | | -import matplotlib.ticker as mticker |
54 | | -from matplotlib import cbook |
55 | | -from matplotlib.backend_bases import MouseEvent |
56 | | -from matplotlib.colors import LogNorm |
57 | | -from matplotlib.testing.decorators import (check_figures_equal, |
58 | | - image_comparison, |
59 | | - remove_ticks_and_titles) |
60 | | -from matplotlib.transforms import Bbox, TransformedBbox |
61 | | ->>>>>>> 6d992cad91... fixed long line linter issues |
62 | 32 |
|
63 | 33 |
|
64 | 34 | def test_divider_append_axes(): |
@@ -964,7 +934,9 @@ def test_removal(): |
964 | 934 | fig.canvas.draw() |
965 | 935 | col.remove() |
966 | 936 | fig.canvas.draw() |
967 | | -@image_comparison(['anchored_locator_base_call.png'], style="classic") |
| 937 | + |
| 938 | + |
| 939 | +@image_comparison(['anchored_locator_base_call.png'], style="mpl20") |
968 | 940 | def test_anchored_locator_base_call(): |
969 | 941 | fig = plt.figure(figsize=(3, 3)) |
970 | 942 | fig1, fig2 = fig.subfigures( |
|
0 commit comments