Urban informal green spaces (IGS) are an important component of urban ecosystems. They play a significant role in biodiversity conservation and enhancing residents’ quality of life. However, research on IGS plant configuration patterns, especially those based on plant diversity characteristics, is still insufficient. This study selected three linear informal green spaces along the Panlong River in Kunming, the Yunnan Vietnam Railway, and the Changchong Mountain Ring Road as research objects. Bas