informatica.infacore.datapipeline.datapipeline.DataPipeline.visualize

DataPipeline.visualize()

Retrieves the image of the data pipeline.

Returns:

A visual image representation of the data pipeline.

Return type:

Image

Example

>>> import informatica.infacore as ic
>>> import matplotlib.pyplot as plt
>>> import numpy as np
>>> from PIL import Image
>>> from io import BytesIO
>>> scd_dp = ic.get_datapipeline("scd type 2")
>>> resp = scd_dp.visualize()
>>> img = Image.open(BytesIO(resp.content))
>>> im_array = np.asarray(img)
>>> plt.imshow(im_array)
>>> plt.show()