Skip to content

Commit

Permalink
Fix geom_line not to ignore the lineend parameter
Browse files Browse the repository at this point in the history
fixes #727
  • Loading branch information
has2k1 committed Nov 21, 2023
1 parent 39e1a62 commit 18b748f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ Bug Fixes
- Fixed space handling around `axis_label`, `axis_text` and `axis_ticks` when
the ticks are turned off.

- Fixed bug in :class:`~plotnine.geoms.geom_path` where the lineend parameter
was ignored. (:issue:`727`)

Enhancements
************

Expand Down
1 change: 1 addition & 0 deletions plotnine/geoms/geom_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ def _draw_segments(data: pd.DataFrame, ax: Axes, **params: Any):
edgecolor=edgecolor,
linewidth=linewidth,
linestyle=linestyle,
capstyle=params["lineend"],
zorder=params["zorder"],
rasterized=params["raster"],
)
Expand Down

0 comments on commit 18b748f

Please sign in to comment.