Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images From 2htdp/Images Not Displaying Properly in REPL or Terminal #124

Open
andrewcincotta opened this issue Jan 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@andrewcincotta
Copy link

Environment

  • OS: macOS
  • OS Version Sonoma
  • VS Code Version 1.85.1
  • Racket version 1.11.1
  • Racket Langserver checksum 140d94e7d64dd861bb2bfccc989d91382c4c8d8e
  • Magic Racket version 0.6.6

Error message

REPL Output:

Welcome to Racket v8.11.1 [cs]. (object:image% ... ...)

Terminal Output:

#<image>

Additional context

Code of My RKT File:

;; The first three lines of this file were inserted by DrRacket. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-beginner-reader.ss" "lang")((modname |Jan 10|) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f () #f))) (require 2htdp/image) (circle 10 "solid" "red")
Assume there is a line break starting (require 2htdp/image) and (circle 10 "solid" "red"). Could not figure out the formatting

@andrewcincotta andrewcincotta added the bug Something isn't working label Jan 11, 2024
@a-longe
Copy link

a-longe commented Jun 29, 2024

Seems like this is the case with all images in the REPL.

When trying to use the plot library, instead of showing the desired graph it just prints "(object:2d-plot-snip% ... ...)"

> (require plot)
> (plot (function sin -5 5))
(object:2d-plot-snip% ... ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants