# Plots and plot result in strange messages in the REPL

**URL:** <https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317>\
**Category:** General Usage\
**Tags:** plotting\
**Created:** [March 24, 2025, 6:31pm UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317 "2025-03-24T18:31:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)\
**Post date:** [March 24, 2025, 6:31pm UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317/1 "2025-03-24T18:31:14Z")

</div>

I have reported this at the Plots github repository but maybe someone here has already seen this.

A new, seemingly incorrect plots behavior.

In the repl, just use Plots and make any plot:

```julia
using Plots
plot(1:5). # or any other plot...

```

With the gr backend, a gks QtTerm window opens displaying the correct plot.

However, the command produces this output in the REPL:

```julia
2025-03-24 11:24:03.189 gksqt[2401:3693999] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-24 11:24:03.189 gksqt[2401:3693999] +[IMKInputSession subclass]: chose IMKInputSession_Modern

```

The only way out of this is crl-c. This make it impossible to use a sequence of plot commands (or not conveniently, at least…). It is possible to follow up with a plot!(…) command because the running instance of Plots knows the state and can generate another updated plot windown.

I haven’t ever seen this behavior from Plots and the plot command before.

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [March 24, 2025, 9:22pm UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317/2 "2025-03-24T21:22:53Z")

</div>

> [@lewis](#):
>
> `IMKClient subclass`

This seems to be a Mac-specific issue ([see this thread](https://discussions.apple.com/thread/255761734?sortBy=rank)).

---

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)\
**Post date:** [March 24, 2025, 10:54pm UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317/3 "2025-03-24T22:54:19Z")

</div>

Yes, it is. It has something to do with creating a window, which Plots must do. But, it didn’t happen until recently.

Any clues for where to go for a solution? Even if it is Apple’s “fault”, they are the mountain and Julia is the pebble and it falls to the pebble to find a solution.

---

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [March 25, 2025, 9:34am UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317/4 "2025-03-25T09:34:05Z")

</div>

… seems to be fixed in the upcoming macOS release (Sequoia 15.4 RC)

---

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)\
**Post date:** [March 25, 2025, 3:42pm UTC](https://discourse.julialang.org/t/plots-and-plot-result-in-strange-messages-in-the-repl/127317/5 "2025-03-25T15:42:28Z")

</div>

Thanks. Looking forward to this. You can mark it closed as it ought to be resolved by this and there is nothing else to be done.
