Python code using Spyder
not only Jupyter other open source platforms and more…
In my previous blogs, I have only used Jupyter as my platform. Here I am using Spyder.
This is also easy to do coding.
- we need to install from Anaconda navigator.
- we need to do coding on the IPython console.
A sample code is shown below
For the above expressions, we need to install some packages.
Through Preferences → IPython console → Advanced Settings → Use symbolic math we can activate the console’s SYMbolic PYthon (sympy) mode that is provided by the SymPy Python package.
Choosing Execute in a dedicated console under Run → Configure will start a new IPython Console every time the hello.py program is executed.
Now let’s see the Visualisation using matplotlib.
Here we can use matplotlib. pyplot for visualization.
Output is shown below
Here the output of the visualization will be executed in a new window.
The command to get the figures to appear inline in the IPython Console is
The Spyder preferences can be used to customize the default behavior, under Preferences → IPython Console → Graphics → Graphics Backend.
we need to tick the above settings for the Graph.
Keep exploring !!! We can use Orange for coding in python also.