Skip to content

Commit

Permalink
Fix geom_segment not to ignore the lineend parameter
Browse files Browse the repository at this point in the history
fixes #854
  • Loading branch information
has2k1 committed Aug 1, 2024
1 parent 1d1c4c9 commit 0171823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/changelog.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ title: Changelog
- Fix layers 3 and above not to overlap the axis lines if there are any
({{< issue 798 >}}).

- Fixed bug in [](:class:`~plotnine.geoms.geom_segment`) where the lineend
parameter was ignored. ({{< issue 727 >}})

## v0.13.6
(2024-05-09)

Expand Down
1 change: 1 addition & 0 deletions plotnine/geoms/geom_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def draw_group(
edgecolor=color,
linewidth=linewidth,
linestyle=data["linetype"][0],
capstyle=params.get("lineend", None),
zorder=params["zorder"],
rasterized=params["raster"],
)
Expand Down

0 comments on commit 0171823

Please sign in to comment.