Skip to content

plot-frame's frame is too small #39

@LiberalArtist

Description

@LiberalArtist

I recently tried using plot-frame for the first time, and (at least on Mac OS) the resulting frame cuts off the plot half-way through the x-axis labels. Resizing the window causes the plot to be resized to fit correctly within the frame.

Here are a minimal example and a screenshot:

#lang racket

(require plot)

(send (plot-frame (points '((2010 39.4)
                            (2010 93.8)
                            (2011 40.3)
                            (2011 79.9)
                            (2012 44.0)
                            (2012 85.5)))
                  #:x-label "Year"
                  #:y-label "Temperature [F]")
      show
      #t)

plot-frame

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions