module plotting.plotting_onnx#

Short summary#

module mlprodict.plotting.plotting_onnx

Useful plots.

source on GitHub

Functions#

function

truncated documentation

plot_onnx

Plots an ONNX graph into a matplotlib graph.

Documentation#

Useful plots.

source on GitHub

mlprodict.plotting.plotting_onnx.plot_onnx(onx, ax=None, dpi=300, temp_dot=None, temp_img=None, show=False)#

Plots an ONNX graph into a matplotlib graph.

Parameters:
  • onx – ONNX object, OnnxInference

  • ax – existing axes

  • dpi – resolution

  • temp_dot – temporary file, if None, a file is created and removed

  • temp_img – temporary image, if None, a file is created and removed

  • show – calls plt.show()

Returns:

axes

source on GitHub