8000 Provide parameter names for set_dashes. · matplotlib/mplcairo@f43bd97 · GitHub
[go: up one dir, main page]

Skip to content

Commit f43bd97

Browse files
committed
Provide parameter names for set_dashes.
1 parent 7b92f8e commit f43bd97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/_mplcairo.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2158,7 +2158,9 @@ Only intended for debugging purposes.
21582158
.def("set_capstyle", &GraphicsContextRenderer::set_capstyle)
21592159
.def("set_clip_rectangle", &GraphicsContextRenderer::set_clip_rectangle)
21602160
.def("set_clip_path", &GraphicsContextRenderer::set_clip_path)
2161-
.def("set_dashes", &GraphicsContextRenderer::set_dashes)
2161+
.def("set_dashes", &GraphicsContextRenderer::set_dashes,
2162+
// AbstractPathEffect._update_gc calls set_dashes with kwargs.
2163+
"dash_offset"_a, "dash_list"_a)
21622164
.def("set_foreground", &GraphicsContextRenderer::set_foreground,
21632165
"fg"_a, "isRGBA"_a=false)
21642166
.def("set_hatch", &GraphicsContextRenderer::set_hatch)

0 commit comments

Comments
 (0)
0