visualize_2d

LayoutView.visualize_2d(show=True, save_to_image=False, save_to_image_path='./', save_to_image_filename_without_ext=None, fig_size_factor=0.1, enter_mainloop=True, enter_tk_mainloop=None, aspect_ratio_equal=True, size=None, process_flow=None, **kwargs)

Visualize a top-down view of the virtually fabricated layout.

Parameters
enter_mainloopboolean

When True, hold the program flow until the figure has been closed by the user. When False, you have to manually plot the figure. This can be done by doing >>> from matplotlib.pyplot import show >>> show()

showboolean

Not used at the moment.

enter_tk_mainloopboolean

Deprecated. Use enter_mainloop.

save_to_imageboolean

When True, save the visualization as an svg + png image, in the save_to_image_path folder. All parameters below influence where / how the image is stored.

save_to_image_pathstring

Path to save the image to, when save_to_image==True.

save_to_image_filename_without_extstring

If not used (default = None), use the name of the component as filename. If a string, use that name.

fig_size_factorfloat

Deprecated, do not use.

aspect_ratio_equalboolean

When True, keep the aspect ratio of the saved image.

sizetuple of floats (float, float)

The width / height of the saved figure (in inches).

process_flow: VFabricationProcessFlow

The process flow to use. If not specified (None), TECH.VFABRICATION.PROCESS_FLOW will be used.

kwargs: dict

Any keyword arguments to SimulationVolumeVisualization2D