INNER CODE UNIT · Python
ax
annoviko/pyclustering · pyclustering/cluster/__init__.py:279
ax = self.__create_canvas(dimension, pairs, index, **kwargs)
axis_storage.append(ax)
for cluster_descr in self.__clusters:
self.__draw_canvas_cluster(axis_storage, cluster_descr, pairs)
if kwargs.get('show', True):
plt.show()
def __create_grid_spec(self, amount_axis, max_row_size):
"""!
@brief Create grid specification for figure to place canvases.
@param[in] amount_axis (uint): Amount of canvases that should be organized by the created grid specification.
@param[in] max_row_size (max_row_size): Maximum number of canvases on one row.
@return (gridspec.GridSpec) Grid specification to place canvases on figure.