Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
GitHub
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
GitHub
Section Navigation
Native API reference
ansys.api.pyensight.ensight_api
anim
anim_flipbook
anim_keyframe
anim_quick
anim_recorders
anim_screens
anim_traces
annot_backgr
annot_entlbl
annotation
arrow
auxgeom
boundarylayer
case
clip
collab
command
connect
context_restore
contour
curve
data
data_partbuild
define
devsrf
dial
dpart
elevsurf
ensight
enums
extrude
file
filterpart
format
frame
function
add_band_at_value
add_bands_at_levels
add_bands_uniformly
add_knot
alpha_volume_scale
band_add_type
band_clear_all
band_clear_last
band_color
band_number_items
band_width
begin
color_space
copy_palette
copy_subpalette
create_palette
create_subpalette
degree
del_knot
delete_full_palet
delete_subpalette
description
display_undefined
edit_level
end
level
levels_lock
limit_fringes
modify_begin
modify_end
nlevels
node_lock
number_of_colors
number_of_levels
over_time
palette
point
range
reset_range_time_chng
restore
restore_predefinedpal
rgb
save
save_all
save_current_case
scale
select_default
set_palette_to_minmax
set_palette_to_partminmax
set_palette_to_viewminmax
tie_to_var
type
undefined_color
use_cont_for_elem_vars
use_subpal
value
gauge
help
isos
legend
lightsource
line
logo
material
message_window
model
nplot
nvc
objs
part
plot
pointpart
prefs
profile
ptrace
ptrace_emitr
query_ent_var
query_interact
savegeom
scene
sepattach
set_tdata
set_visenv
shape
shell
shock
show_info
solution_time
species
subset
tensor
text
texture
tools
user
varextcfd
variables
vctarrow
view
view_transf
viewport
viewport_axis
viewport_bounds
views
vof
vortexcore
Object API reference
Calculator functions
REST API
LibUserd API reference
EnsContext
LocalLauncher
DockerLauncher
Renderable
Session
Export
Parts
Query
Support
Views
Variables
Omniverse
Readers
DVS
API reference
Native API reference
function
number_of_colors
number_of_colors
#
function.
number_of_colors
(
*
args
,
**
kwargs
)
→
Any
#
Function: #_of_colors
On this page
function.number_of_colors()
Show Source