wuub / SublimeREPL

SublimeREPL - run an interpreter inside ST2 (Clojure, CoffeeScript, F#, Groovy, Haskell, Lua, MozRepl, NodeJS, Python, R, Ruby, Scala, shell or configure one yourself)
https://github.com/wuub/SublimeREPL
Other
2.14k stars 312 forks source link

Matplotlib problem with REPL (ST3) #402

Open lhutyra opened 9 years ago

lhutyra commented 9 years ago

Hi everyone,

I have installed build 3065 of ST 3. Im using Python 3.4.1 intepreter in my SublimeREPL, however something going wrong when im trying to execute following commands:

import matplotlib.pyplot as pyplot # OK pyplot.scatter(x,y) #OK pyplot.grid()

After last command, repl not react for enter, it just not showing anything, not executing code. It stop interpretting any python commands I've tried same at windows cmd.exe, and python shell, and its working.

LouisAsh commented 7 years ago

I am facing the exact same issue. I use SublimeREPL calling Python with the option "-i" to keep the REPL console open for usage. It works pretty well, except when python code includes plotting with matplot. Then, the python code is properly executed, but after it the REPL console becomes non-responsive.

Since this issue was opened 2.5 years ago, I expect that a solution was found or at least a workaround?

kaijurgeit commented 6 years ago

Hi I am also facing the same issue but only on windows.

I am using sublimetext 3 build 3143 on windows with SublimeRepl 2.1.2 with Anaconda 3 and Python 3.6 (env) in interactive mode. Everything works fine. However when I call matplotlib.pyplot.show() it does not show anything but it is blocking the console.

I am using the same setup in Ubuntu and it works fine. What could be the reason for that?