Handle both plplot linewidth APIs