BUG: MPLPlot cannot make loglog keyword worked

Changes made in #5638 make `loglog` keyword not worked, and it fixes the problem.