Skip to content

Sage Shell View disables alternative "viewers" #78

Open
@balbirthomas

Description

@balbirthomas

Enabling sage shell view using (add-hook 'sage-shell-after-prompt-hook #'sage-shell-view-mode) results in plots always being displayed as PNG images. For example even after toggling inline images (sage-shell-view-toggle-inline-plots) the images are displayed in a browser as a PNG instead of using the default threejs viewer. Specifying a viewer explicitly using viewer keyword argument of the plot or show command also does not make a difference, regardless of the choice of viewer. This breaks the behavior of a sage REPL.

This seems to have been a regression in recent versions of Sage shell view mode. It used to work just like the Sage REPL previously.

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