Skip to content

Commit

Permalink
legend: fix untyped contract
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeket committed Sep 14, 2020
1 parent fa1361d commit 3f91329
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions plot-lib/plot/private/no-gui/plot2d-untyped.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#:title (or/c string? pict? #f)
#:x-label (or/c string? pict? #f)
#:y-label (or/c string? pict? #f)
#:legend-anchor anchor/c]
#:legend-anchor legend-anchor/c]
void?)]
[untyped-plot-bitmap
(->* [(treeof (or/c renderer2d? nonrenderer?))]
Expand All @@ -39,7 +39,7 @@
#:width (or/c real? #f)
#:x-label (or/c string? pict? #f)
#:y-label (or/c string? pict? #f)
#:legend-anchor anchor/c]
#:legend-anchor legend-anchor/c]
(is-a?/c bitmap%))]
[untyped-plot-pict
(->* [(treeof (or/c renderer2d? nonrenderer?))]
Expand All @@ -52,7 +52,7 @@
#:height (or/c real? #f)
#:width (or/c real? #f)
#:y-label (or/c string? pict? #f)
#:legend-anchor anchor/c]
#:legend-anchor legend-anchor/c]
pict?)]))

(define untyped-plot/dc plot/dc)
Expand Down
2 changes: 1 addition & 1 deletion plot-lib/plot/private/no-gui/plot3d-untyped.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#:x-label (or/c string? pict? #f)
#:y-label (or/c string? pict? #f)
#:z-label (or/c string? pict? #f)
#:legend-anchor anchor/c]
#:legend-anchor legend-anchor/c]
void?)]))

(define-syntax untyped-plot3d/dc
Expand Down

0 comments on commit 3f91329

Please sign in to comment.