'Importing gds file and plot with the Label of the layout

I am using phidl in python to import gds file (layout of CMOS gates) and plot layout. I can import the gds file as a device with the "import_gds" command. And then if quick plot (qp) the device it plots the layout. But it does not plot the Labels that are given in the gds file. How to plot the contents of the gds file with the given Labels' name (Like Vdd, Vss, etc ).



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source