@@ -4056,23 +4056,19 @@ def __init__(self, posA=None, posB=None,
4056
4056
4057
4057
self ._mutation_scale = mutation_scale
4058
4058
self ._mutation_aspect = mutation_aspect
4059
- # Provide a ref. to scale '_mutation_scale' when setting '_dpi_cor'.
4060
- self ._genuine_mutation_scale = mutation_scale
4061
-
4059
+
4062
4060
self .set_dpi_cor (dpi_cor )
4063
4061
#self._draw_in_display_coordinate = True
4064
4062
4065
4063
def set_dpi_cor (self , dpi_cor ):
4066
4064
"""
4067
4065
dpi_cor is currently used for linewidth-related things and
4068
- shrink factor. Mutation scale *is* affected by this.
4066
+ shrink factor. Mutation scale is not affected by this.
4069
4067
"""
4070
4068
4071
4069
self ._dpi_cor = dpi_cor
4072
4070
self .stale = True
4073
- # Scale `_mutation_scale` properly with the new DPI (see issue #6035).
4074
- self ._mutation_scale = self ._genuine_mutation_scale * dpi_cor
4075
-
4071
+
4076
4072
def get_dpi_cor (self ):
4077
4073
"""
4078
4074
dpi_cor is currently used for linewidth-related things and
@@ -4233,10 +4229,10 @@ def get_path_in_displaycoord(self):
4233
4229
_path = self .get_transform ().transform_path (self ._path_original )
4234
4230
4235
4231
_path , fillable = self .get_arrowstyle ()(_path ,
4236
- self .get_mutation_scale (),
4237
- self .get_linewidth () * dpi_cor ,
4238
- self .get_mutation_aspect ()
4239
- )
4232
+ self .get_mutation_scale () * dpi_cor ,
4233
+ self .get_linewidth () * dpi_cor ,
4234
+ self .get_mutation_aspect ()
4235
+ )
4240
4236
4241
4237
#if not fillable:
4242
4238
# self._fill = False
@@ -4549,10 +4545,10 @@ def get_path_in_displaycoord(self):
4549
4545
)
4550
4546
4551
4547
_path , fillable = self .get_arrowstyle ()(_path ,
4552
- self .get_mutation_scale (),
4553
- self .get_linewidth () * dpi_cor ,
4554
- self .get_mutation_aspect ()
4555
- )
4548
+ self .get_mutation_scale () * dpi_cor ,
4549
+ self .get_linewidth () * dpi_cor ,
4550
+ self .get_mutation_aspect ()
4551
+ )
4556
4552
4557
4553
return _path , fillable
4558
4554
0 commit comments