Skip to content

Commit 3ca9a02

Browse files
committed
Minor BasemapAxes bugfix
1 parent 8da19f5 commit 3ca9a02

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

proplot/axes.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,7 +3684,7 @@ def _format_apply(
36843684
p.set_clip_on(False) # so edges denoting boundary aren't cut off
36853685
self._map_boundary = p
36863686
else:
3687-
self.patch.update(edgecolor='none', **kw_face)
3687+
self.patch.update({**kw_face, 'edgecolor': 'none'})
36883688
for spine in self.spines.values():
36893689
spine.update(kw_edge)
36903690

@@ -3718,7 +3718,8 @@ def _format_apply(
37183718
latlines = _notNone(latlines, self._latlines_values)
37193719
latarray = _notNone(latarray, self._latlines_labels, [0] * 4)
37203720
p = self.projection.drawparallels(
3721-
latlines, latmax=ilatmax, labels=latarray, ax=self)
3721+
latlines, latmax=ilatmax, labels=latarray, ax=self
3722+
)
37223723
for pi in p.values(): # returns dict, where each one is tuple
37233724
# Tried passing clip_on to the below, but it does nothing
37243725
# Must set for lines created after the fact
@@ -3739,7 +3740,8 @@ def _format_apply(
37393740
lonlines = _notNone(lonlines, self._lonlines_values)
37403741
lonarray = _notNone(lonarray, self._lonlines_labels, [0] * 4)
37413742
p = self.projection.drawmeridians(
3742-
lonlines, latmax=ilatmax, labels=lonarray, ax=self)
3743+
lonlines, latmax=ilatmax, labels=lonarray, ax=self,
3744+
)
37433745
for pi in p.values():
37443746
for obj in [i for j in pi for i in j]:
37453747
if isinstance(obj, mtext.Text):

0 commit comments

Comments
 (0)