Skip to content

Commit 9dcd7e1

Browse files
committed
Clean up failed merge
1 parent 3828f07 commit 9dcd7e1

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

ultraplot/axes/base.py

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
from .. import constructor
4141
from .. import legend as plegend
4242
from .. import ticker as pticker
43+
from ..colorbar import (
44+
UltraColorbar,
45+
_apply_inset_colorbar_layout,
46+
_determine_label_rotation,
47+
_get_axis_for,
48+
_get_colorbar_long_axis,
49+
_legacy_inset_colorbar_bounds,
50+
_reflow_inset_colorbar_frame,
51+
_register_inset_colorbar_reflow,
52+
_solve_inset_colorbar_bounds,
53+
)
4354
from ..config import rc
4455
from ..internals import (
4556
_kwargs_to_args,
@@ -59,17 +70,6 @@
5970
)
6071
from ..ultralayout import KIWI_AVAILABLE, ColorbarLayoutSolver
6172
from ..utils import _fontsize_to_pt, edges, units
62-
from ..colorbar import (
63-
UltraColorbar,
64-
_apply_inset_colorbar_layout,
65-
_determine_label_rotation,
66-
_get_axis_for,
67-
_get_colorbar_long_axis,
68-
_legacy_inset_colorbar_bounds,
69-
_register_inset_colorbar_reflow,
70-
_reflow_inset_colorbar_frame,
71-
_solve_inset_colorbar_bounds,
72-
)
7373

7474
try:
7575
from cartopy.crs import CRS, PlateCarree
@@ -3810,8 +3810,6 @@ def _get_pos_from_locator(
38103810
y = y_pad
38113811
return (x, y)
38123812

3813-
<<<<<<< refactor/ultra-colorbar
3814-
=======
38153813

38163814
def _get_axis_for(
38173815
labelloc: str,
@@ -4335,7 +4333,6 @@ def _reflow_inset_colorbar_frame(
43354333
cb_width = width
43364334
cb_height = length
43374335

4338-
>>>>>>> main
43394336
renderer = cax.figure._get_renderer()
43404337
if hasattr(colorbar, "update_ticks"):
43414338
colorbar.update_ticks(manual_only=True)

0 commit comments

Comments
 (0)