I have developed a Python script using Arcpy to query certain values and append them to a layout.
The script includes the application of symbology, labeling, and a definition query. While the script executes correctly, I encounter an issue where the symbology and labeling do not appear in the exported PDF.
However, when I zoom in or out of the layout in ArcGIS Pro, the symbology and labeling are displayed correctly.
The first image shows the map in ArcGIS Pro with the labeling and symbology present.
The second image shows the exported PDF where the labeling and symbology are absent.