Plotting a x^2 graphics
See original GitHub issueDescription
What steps will reproduce the problem?
import matplotlib.pyplot as plt import numpy as np
print (“for x axis:”) start=float (input("insert start number: ")) end=float (input("insert end number: ")) increment=float (input("insert increment from 0: ")) x=np.arange(start,end,increment) y=x^2
plt.plot(x,y, ‘y’, label=‘y=x^2’) plt.show()
##im using x in interval of -200 to 200
Traceback
File "S:\ANACONDA_ProgramFiles\lib\site-packages\spyder\plugins\editor\utils\autosave.py", line 116, in do_autosave
stack.autosave.autosave_all()
File "S:\ANACONDA_ProgramFiles\lib\site-packages\spyder\plugins\editor\utils\autosave.py", line 375, in autosave_all
self.maybe_autosave(index)
File "S:\ANACONDA_ProgramFiles\lib\site-packages\spyder\plugins\editor\utils\autosave.py", line 335, in maybe_autosave
orig_hash = self.file_hashes[orig_filename]
KeyError: 'C:\\Users\\User\\.spyder-py3\\autosave\\FUNGSI HERMITE.py'
Versions
- Spyder version: 4.0.1
- Python version: 3.7.6
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
atomicwrites >=1.2.0 : 1.3.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.3.0 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.12.0 (OK)
jedi =0.14.1 : 0.14.1 (OK)
nbconvert >=4.0 : 5.6.1 (OK)
numpydoc >=0.6.0 : 0.9.2 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=0.3 : 5.6.7 (OK)
pygments >=2.0 : 2.5.2 (OK)
pylint >=0.25 : 2.4.4 (OK)
pyls >=0.31.2;<0.32.0 : 0.31.7 (OK)
zmq >=17 : 18.1.1 (OK)
qdarkstyle >=2.7 : 2.8 (OK)
qtawesome >=0.5.7 : 0.6.1 (OK)
qtconsole >=4.6.0 : 4.6.0 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.3 (OK)
sphinx >=0.6.6 : 2.4.0 (OK)
spyder_kernels >=1.8.1;<2.0.0: 1.8.1 (OK)
watchdog : None (OK)
cython >=0.21 : 0.29.15 (OK)
matplotlib >=2.0.0 : 3.1.3 (OK)
numpy >=1.7 : 1.18.1 (OK)
pandas >=0.13.1 : 1.0.1 (OK)
scipy >=0.17.0 : 1.4.1 (OK)
sympy >=0.7.3 : 1.5.1 (OK)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Plotting & Graphics - Wolfram|Alpha Examples
Use interactive calculators to plot and graph functions. Try 3D plots, equations, inequalities, polar and parametric plots. Specify ranges for variables.
Read more >Graph of x^2 | What is the x2 graphic drawing? ~ Mathematics
We wish everyone a good day. In this article, we will share the graph of x to the 2nd. What is the graph...
Read more >2D Plotting - 2D Graphics - SageMath Documentation
Sage provides extensive 2D plotting functionality. The underlying rendering is done using the matplotlib Python library. The following graphics primitives are ...
Read more >Plotting Functions with Turtle Graphics Part 1 - YouTube
Python includes a graphics library of LOGO like functions that can be used in a huge variety of ways. In this video I...
Read more >2-D line plot - MATLAB plot - MathWorks
For example, plot(X1,Y1,"o",X2,Y2) specifies markers for the first x-y pair but not for the second pair. example. plot( Y ) plots Y against...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think your anaconda installation is broken and the easiest way to fix it is uninstalling it and installing it again, but make sure to delete the directory
S:\ANACONDA_ProgramFiles
manually before doing your installation again.In that case it seems that the issue is not related to Spyder, but with Anaconda. There’s not much that we can do to help you solve this, sorry. Try reporting the issue here https://github.com/ContinuumIO/anaconda-issues/issues/ to see if they can guide you better through this.
However, before running
conda install spyder=4.1.3
, you have to runconda update anaconda