Skip to content

Commit 5828da6

Browse files
authored
Add line to geolegend (#783)
1 parent c3d1e2d commit 5828da6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ultraplot/legend.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def create_artists(self, legend, orig_handle, *args, **kwargs):
192192
"rectangle": mpath.Path(
193193
[[0, 0], [2, 0], [2, 1], [0, 1], [0, 0]], closed=True, readonly=True
194194
),
195+
"line": mpath.Path([[0,0], [1,0]], readonly=True),
195196
}
196197
_GEOMETRY_SHAPE_ALIASES = {
197198
"box": "square",

0 commit comments

Comments
 (0)