added support for hide_axes and hide_y_axis options