'Triangle-shaped points appear more transparent than the circular points

As I have asked in the this question, I'm trying to plot curves varying according to different quantities, and I am mapping these quantities to the color and shape aesthetics.

However, when I do that, the dots having triangle shape look more transparent than the circular dots.

How can I solve this issue?

PS: I'm using the same code & dataset I have given in the linked question.

enter image description here



Sources

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

Source: Stack Overflow

Solution Source