We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6dfd1e commit f9da410Copy full SHA for f9da410
plotnine/geoms/geom_path.py
@@ -425,9 +425,8 @@ def get_paths(
425
# We need the axes dimensions so that we can
426
# compute scaling factors
427
width, height = _axes_get_size_inches(ax)
428
- ranges = coord.range(panel_params)
429
- width_ = np.ptp(ranges.x)
430
- height_ = np.ptp(ranges.y)
+ width_ = np.ptp(panel_params.x.range)
+ height_ = np.ptp(panel_params.y.range)
431
432
# scaling factors to prevent skewed arrowheads
433
lx = self.length * width_ / width
0 commit comments