diff --git a/plot-lib/plot/private/no-gui/plot2d.rkt b/plot-lib/plot/private/no-gui/plot2d.rkt index 407dbe8d..51aff28b 100644 --- a/plot-lib/plot/private/no-gui/plot2d.rkt +++ b/plot-lib/plot/private/no-gui/plot2d.rkt @@ -104,7 +104,7 @@ #:aspect-ratio [aspect-ratio (plot-aspect-ratio)] #:legend-anchor [legend-anchor (plot-legend-anchor)]) (define bm : (Instance (Class #:implements Bitmap% #:implements Plot-Metrics<%>)) - (make-object (plot-metrics-mixin bitmap%) (λ () pm) width height)) + (make-object (plot-metrics-mixin bitmap%) (λ () pm) width height #f #t)) (define dc : (Instance DC<%>) (make-object bitmap-dc% bm)) (define pm : (Instance Plot-Metrics<%>) (plot/dc renderer-tree dc 0 0 width height diff --git a/plot-lib/plot/private/no-gui/plot3d.rkt b/plot-lib/plot/private/no-gui/plot3d.rkt index c3996ba3..46887e0d 100644 --- a/plot-lib/plot/private/no-gui/plot3d.rkt +++ b/plot-lib/plot/private/no-gui/plot3d.rkt @@ -135,7 +135,7 @@ #:aspect-ratio [aspect-ratio (plot-aspect-ratio)] #:legend-anchor [legend-anchor (plot-legend-anchor)]) (define bm : (Instance (Class #:implements Bitmap% #:implements Plot-Metrics<%>)) - (make-object (plot-metrics-mixin (class bitmap% (super-new))) (λ () pm) width height)) + (make-object (plot-metrics-mixin (class bitmap% (super-new))) (λ () pm) width height #f #t)) (define dc : (Instance DC<%>) (make-object bitmap-dc% bm)) (define pm : (Instance Plot-Metrics<%>) (plot3d/dc renderer-tree dc 0 0 width height