Skip to content

showfig not displaying figure in Pluto notebook ([email protected], [email protected] [email protected]) #1575

@CyprienBosserelle

Description

@CyprienBosserelle

Hi Joaquim,
My fresh install of GMT does work well inside the REPL displaying images properly when the window pops up but inside a Pluto notebook it shows the images i made last from the terminal and not the one I'm trying to make inside the notebook.

I tortured the showfig function a little and got it to work but this is probably more of a workaround than a solution:
From how I understand the problem:
Showfig is expecting "Pluto, the image is already in a raster format by a previous call to 'gmt end'" but in my case the figure is actually a (unclosed) .ps file. I'm pretty sure of that because when I make these changes.

image

It all works as expected.
Now I'm not sure this is really how it is meant to work (i.e. is this a gmt end problem upstream?) or if it breaks something else so I haven't bothered making a pull request from that.

I hope this helps and thanks for the awesome work you have been doing!
Cheers,
Cyp

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