cellcomplex.property_topomesh.utils.matplotlib_tools module

cellcomplex.property_topomesh.utils.matplotlib_tools.mpl_draw_incidence_graph(topomesh, figure, colors={0: 'm', 1: 'b', 2: 'g', 3: 'r'}, size=40, linewidth=1, degree=None, plot_ids=False)[source]
Parameters
  • topomesh

  • figure

  • colors

  • size

  • linewidth

  • plot_ids

cellcomplex.property_topomesh.utils.matplotlib_tools.mpl_draw_topomesh(topomesh, figure, degree=2, coef=1, property_name='', property_degree=None, colormap='viridis', color='k', alpha=1.0, cell_edges=False, intensity_range=None, linewidth=1, size=40, plot_ids=False)[source]
Parameters
  • topomesh

  • figure

  • degree

  • coef

  • property_name

  • property_degree

  • colormap

  • color

  • alpha

  • cell_edges

  • intensity_range

  • linewidth

  • size

  • plot_ids

cellcomplex.property_topomesh.utils.matplotlib_tools.plot_tensor_data(figure, X, Y, tensors, C=None, tensor_style='crosshair', color='k', colormap='jet', value_range=None, scale=1.0, linewidth=1, alpha=1.0)[source]
Parameters
  • figure

  • X

  • Y

  • tensors

  • C

  • tensor_style

  • color

  • colormap

  • value_range

  • scale

  • linewidth

  • alpha