I have a python script that querying some values and appending them to Layout. I'm applying symbology, labeling, and definition query. the script running well, but when exporting to PDF the symbology and labeling don't appears.
Although when I zoom in or out from the layout all appears.
the first image from the map (with labeling &symbology)
the second image from the layout (without labeling &symbology)
First Image
second image