Skip to main content

Questions tagged [spyder]

Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features.

0 votes
0 answers
30 views

StringVar doesn't update the text on a button in Python's TKinter

StringVar doesn't update the text on a button in Python's TKinter. As a matter of fct, no text is being shown. Why? I'm using Spyder 5.5.5. Here's the code: # -*- coding: utf-8 -*- import tkinter as ...
Radar32's user avatar
  • 27
0 votes
0 answers
19 views

%matplotlib qt[5] error and %matplotlib <backend> not reflected in Spyder Preferences

In the Spyder GUI, I can navigate to the following parameter: Tools -> Preferences -> IPython console -> Graphics -> Graphics backend -> Backend. The options for this parameter are ...
user2153235's user avatar
  • 1,038
0 votes
1 answer
10 views

Customize Spyder layout of panes

I found a lot online about customizing the layout of Spyder panes, including this. However, they all have to do with shifting pane boundaries or undocking. I don't want undocked panes and neither do ...
user2153235's user avatar
  • 1,038
0 votes
0 answers
9 views

Trouble with debugging with "Step Into (CTRL+F11)" on remote kernel in Spyder IDE

I make a remote connection with nanopi using remote spyder kerner. I can successfully run and debug files; BUT!!!, when i want to step into (CTRL+F11) function which locate in another file, Spyder ...
user26432494's user avatar
0 votes
2 answers
31 views

Spyder: pip under different interpreter is used for installing packages

I started using Spyder recently. I have Python 3.7 and 3.11 installed in my machine. I want to use the second one (3.11), therefore, I have successfully (confirmed by checking in console sys.path) ...
Whitebeard13's user avatar
0 votes
0 answers
15 views

Spyder console: "_" stops taking last result after being assigned to

I find it useful for _ to contain the value fo the last result. However, I sometimes want to use _ to suppress the printing of the return argument of a function call. Unfortunately, once _ has been ...
user2153235's user avatar
  • 1,038
0 votes
0 answers
23 views

How can I write a Spyder IDE Datafame to and MS Access Database Table

I am trying to write from Spyder IDE Dataframe to MS Access table. I am using dummy data from a statement in the Python code where it works great! The goal is reading the excel file to Spyder IDE ...
mekcox's user avatar
  • 1
-1 votes
1 answer
46 views

Python Pandas Transpose

I want to transpose the dataset below based on the Doc. # column which is a key number for each respective field name and reformat to be horizontal with respective New/Old value columns.The original ...
j1102's user avatar
  • 1
0 votes
0 answers
18 views

Have pandas autodetect Spyder console width

I am on Spyder 5.4.3 and Python 3.9, both installed via Anaconda on a Windows 10 machine. The console width changes a lot depending on whether view only the console window (Shift+Ctrl+Alt+M), whether ...
user2153235's user avatar
  • 1,038
0 votes
1 answer
12 views

Interactive debugging in Spyder: calling a function in a debug mode from a debug console

Python 3.11, Spyder 5.5.1. I want to do this: when I debug a function and stop at a breakpoint, I want to call another existing function (that is not called in the code of the original debugged ...
Dmitry Labukhin's user avatar
-1 votes
0 answers
10 views

Difficulty Plotting individual points in Python Spyder in a simple ecosystem

I am writing a project in Python Spyder on my Mac. The project is an ecosystem in which there is grass, sheep, wolves. With each iteration The grass grows, sheep eat grass, some die of starvation, ...
Jon's user avatar
  • 17
0 votes
1 answer
17 views

Spyder console: Underscore does not contain result of last statement

My web surfing reveals that the underscore variable _ should contain the result of the last REPL statement. This is what I get instead >>> 2+7 Out[89]: 9 >>> _ Traceback (most ...
user2153235's user avatar
  • 1,038
0 votes
1 answer
17 views

Error at *end* of code pasted into Spyder console, all *preceding* objects missing

I am trying this code for clustering, adapted as follows: import os os.chdir("C:/path/to/working/directory") import numpy as np Dist = np.load('20240612.1201_Dist.npz')['Dist'] # Load ...
user2153235's user avatar
  • 1,038
0 votes
0 answers
14 views

How to obtain Matplotlib plot finish time? [duplicate]

I have a function that generates a 2-D array of complex numbers and then plots them on a scatter plot using pyplot. The arrays are large, typically 256x256, and the plotting can sometimes take well ...
JVX901's user avatar
  • 1
1 vote
0 answers
32 views

Spyder tells me file does not exist, but it does and the path is correct

I'm trying to open a .nc file with the package xarray and despite the file showing up on the spyder file explorer aand me right clicking on it and copying the absolute path to it, when I run the code ...
Ramiro chalar's user avatar

15 30 50 per page
1
2 3 4 5
345