- Local variables, functions within functions, function arguments, user-defined classes
- Variables and functions contained in a py file imported from the currently open py file
- Variables defined with Shell
- Variables and functions contained in py files imported from Shell
• Variables displayed when you press V in other apps are not displayed in the Python app.
Using Shell
Shell is an interactive command line. From the Shell >>> prompt, you can input commands
*2
obtain the result
immediately. Shell history stores up to 200 of the latest prompt and result lines.
*1 Up to 255 characters. For information about inputting text, functions, and commands into the Shell, see
"Input Operations (Same for Editor and Shell)" (page
*2 Result output has up to 509 characters per line.
*3 Until you select T > [Delete All] or start up another app.
To display Shell
While Editor is displayed,
* Selecting T > [Shell] does not execute the script currently displayed by Editor.
Initializing Shell
Shell stores variables and functions defined in the most recently executed script in the Shell heap area
(temporary memory area for storage). Whenever you go from Shell to Editor, the Shell heap area contents
up to that point are cleared. This clearing of Shell heap area contents is called "SHELL initialization." When
Shell is initialized, the message "* SHELL Initialized *" is inserted on the line that corresponds to when it was
initialized.
To clear all Shell history contents
Press a or select T > [Delete All].
matplotlib.pyplot Module
The matplotlib.pyplot module provides functions for drawing graphs with the Python app.
Important!
• The matplotlib.pyplot module of the Python app is a proprietary module created to run on this calculator.
It is different from the matplotlib.pyplot module that runs on PC-based Python.
• The functions included in the matplotlib.pyplot module in the Python app of this calculator may differ
from those of the matplotlib.pyplot module of PC-based Python in terms of behavior, supported
arguments, and other specifications. Each function supports only the format and arguments specified
here.
Note
• To use functions in the matplotlib.pyplot module, you must import the matplotlib.pyplot module.
To import the matplotlib.pyplot module
1. Select C > [matplotlib.pyplot].
2. On the menu that appears, select the commands below.
- from matplotlib.pyplot import *
- import matplotlib.pyplot
• In the syntax of each function shown in this section, anything included in square brackets ([ ]) can be
omitted.
execute a script (page 120)
121).
or select T > [Shell].
123
*1
and press E to
*3
*
Shell is initialized at this time.
Need help?
Do you have a question about the CLASSWIZ CG and is the answer not in the manual?
Questions and answers