Questions tagged [qtconsole]

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

QTConsole is a very lightweight widget that largely feels like a terminal, but provides a number of enhancements only possible in a GUI, such as inline figures, proper multiline editing with syntax highlighting, graphical calltips, and much more.

More info: A Qt Console for IPython

105 questions
1
vote
1 answer

IPython qtconsole figure window

I realise that tons of people have asked questions about the interactive figure window in IPython but I haven't yet found an answer to my problem. I'm using the IPython qtconsole for plotting, and I'd like it if plt.plot(x,y) (plt =…
1
vote
1 answer

How to set the inline image opaque in QtConsole3?

I run QtConsole3 with thw following command: ipython3 qtconsole --cache-size=4000 --matplotlib=inline --colors=Linux And plot a figure with following lines: In [1]: import numpy as np In [2]: import matplotlib.pyplot as plt In [3]: x =…
Eastsun
  • 18,526
  • 6
  • 57
  • 81
1
vote
1 answer

How to run qtconsole connected to ipython3 instance?

When I run %qtconsole from within ipython3 I get ERROR: Line magic function%qtconsolenot found., but ipython3 qtconsole in terminal starts fine. According to this, how can I run qtconsole instance connected to ipython3 instance? And how to run it on…
goaud27
  • 145
  • 1
  • 9
1
vote
0 answers

LaTeX formatting error in iPython QtConsole

Running into this bug (among other LaTeX formatting issues on iPython QtConsole): In[52]: abs(x).diff() /Library/Python/2.7/site-packages/IPython/core/formatters.py:239: FormatterWarning: Exception in image/png formatter: Expected end of math…
pixatlazaki
  • 572
  • 8
  • 19
1
vote
1 answer

embedding ipython qtconsole and passing objects

I want to put an ipython qtconsole in an MDI pyqt application as a subwindow, and then create other subwindows from the qtconsole. So the embedded qtconsole needs to be able to access the namespace of the application. According to this page from the…
firescape
  • 307
  • 2
  • 13
1
vote
1 answer

Can't find launcher in ~/anaconda 2.0 in mac osx

I just did a clean install of ananconda 2.0 (python 3.4) on my mac osx after uninstalling the previous version of anaconda. I used the graphical installer but the launcher is missing in the ~/anaconda directory. I tried running spyder and ipython…
Dr_Denzy
  • 13
  • 4
1
vote
0 answers

Grey area while plotting inline in Ipython Qt console

I have used the Ipython Qtconsole 1.1.0. together with Matplotlib 1.3.1. I want to plot my figures in the Qt-console and I therefore follow the examples from this page. When I follow their instructions I get a grey rectangle around my plot which…
funny
  • 11
  • 1
1
vote
0 answers

Update of matplotlib graph data series in interactive mode

IPython, QtConsole, matplotlib.pyplot.plot, qt backend. I need to redraw the plot after updating data series (DataFrame instance) itself. This answer does not quite does it, since it relates to graph elements themselves being updated, while I want…
LetMeSOThat4U
  • 6,470
  • 10
  • 53
  • 93
1
vote
1 answer

In Ipython Qt Console sp.info doesn't print inside the console

I have installed IPython 1.1.0, in Ubuntu 12.04 from the source. Similarly I have installed Numpy-1.8.0, Scipy-0.13.1, Matplotlib-1.3.1 from the source. When I use the Ipython Qt COnsole the command sp.info(optimize.fmin) doesn't print the output…
1
vote
2 answers

PythonXY, IPython Qt Console, matplotlib, draw something not in inline mode

I'm new to PythonXY and Matplotlib. I installed PythonXY (v2.7.3.1) in default full mode. I use the "IPython Qt Console" application. I draw something using matplotlib.pyplot (imported as plt). For example. When plt.plot([1,3,2,4]), the figure…
Babeler
  • 45
  • 1
  • 6
0
votes
1 answer

Jupyter: magic %qtconsole console appears but does not work

Set up python on a new machine (mac air m2) and cannot for the life of my get my qtconsole back. Starting a jupyter notebook and running the magic in the cell causes the qt window to pop up, but no prompt is ever available (pictured below). This…
0
votes
1 answer

'Shift+Return' QShortcut in PyQt QPlainTextEdit

I'm attempting to write a small command line console in PyQt, similar to the Jupyter Qtconsole . As a simple first step I'd like to be able to execute commands when the key combination 'Shift+Return' is pressed. The code example below suggests…
cjordan1
  • 277
  • 1
  • 4
  • 11
0
votes
0 answers

How to interactively send text to qtconsole?

I am wondering if there is a way to to interactively send text from a python script to qtconsole. The closest possible approach I found is through subprocess, but it does not work. It follows the code that I tried: import subprocess QtConsole =…
Barzi2001
  • 989
  • 8
  • 24
0
votes
0 answers

Spyder Pop-up: Missing Dependencies

I get this pop-up despite updating to the latest versions of spyder, anaconda, and qtconsole . Error Message Are there any suggestions? Tried conda update anaconda conda install qtconsole=5 no success. Already have version 5.4.0 of 'qtconsole'
0
votes
1 answer

python async with AsyncKernelManager and Qt not executing

I'm trying to execute code inside a jupyter kernel in a Qt application. I have the below snipplet that is supposed to asynchronously run the code and then print the result import sys import asyncio import qasync from qasync import QApplication from…
wasp256
  • 5,943
  • 12
  • 72
  • 119