added back range setting in plots, since plots can be rendered before axes