paramonte.vis._utils

Module Contents

Functions

isColorBar(ax)

Attempt to guess whether an input matplotlib

isPresentColorBar()

paramonte.vis._utils.isColorBar(ax)[source]

Attempt to guess whether an input matplotlib Axes is home to a colorbar object.

Parameters

ax

An Axes instance.

Returns

A boolean value of True if the x xor y axis satisfies all of the following and thus looks like a colorbar object:

No ticks, no tick labels, no axis label

paramonte.vis._utils.isPresentColorBar()[source]