3
$\begingroup$

Bug introduced in 11.2 and persists through 12.2.

A previous answer by Lukas Lang gave some hope, where he outlined a method to change how the $DisplayFunction worked. I tried this method with no success. When I looked into Names[System`*Dump*] there is no ListPlotsDump or ProtoPlotDump anymore, so I assume whatever I change there makes no difference.

With

<<JavaGraphics`

Plot[Sin[x],{x,-Pi,Pi}]

I get a nice graphics window.

With

<<JavaGraphics`

ListPlot[{1,2,3,4,5}]

Out[] -Graphics-

there's no popup window.

$\endgroup$
5
  • 1
    $\begingroup$ you are in the right place to get help, just provide more details with the code you are trying to run so people can fix it or improve $\endgroup$
    – MMA13
    May 26, 2021 at 6:54
  • $\begingroup$ "When I looked into Names[System`*Dump*] there is no ListPlotsDump or ProtoPlotDump anymore" ListPlotsDump is still there, but Names[System`*Dump*] won't find it, and you need to first execute ListPlot once: ListPlot; ?"*`ListPlotsDump`iListPlot" $\endgroup$
    – xzczd
    Jun 7, 2021 at 7:52
  • $\begingroup$ I have updated my answer in the linked post, now it should also work with versions 12.1 and later $\endgroup$
    – Lukas Lang
    Jun 7, 2021 at 8:15
  • $\begingroup$ Yes it does. Now I have two working versions. $\endgroup$
    – Dave
    Jun 7, 2021 at 8:22
  • $\begingroup$ The updated version does answer the question $\endgroup$
    – Dave
    Jun 7, 2021 at 12:04

1 Answer 1

3
$\begingroup$

The show definition from Zachary Levine

<<JavaGraphics`
show[x__] := Show[x, DisplayFunction->$DisplayFunction ]
show [ ListPlot[Table[i,{i,10}]]]

does the job.

$\endgroup$
1

Not the answer you're looking for? Browse other questions tagged or ask your own question.