def METHOD_NAME(self):
    """Test switching an empty plot"""
    self.plot.resetZoom()
    xlimits = self.plot.getXAxis().getLimits()
    ylimits = self.plot.getYAxis().getLimits()
    isKeepAspectRatio = self.plot.isKeepDataAspectRatio()
    for backend in ('gl', 'mpl'):
        with self.subTest():
            self.plot.setBackend(backend)
            self.plot.replot()
            self.assertEqual(self.plot.getXAxis().getLimits(), xlimits)
            self.assertEqual(self.plot.getYAxis().getLimits(), ylimits)
            self.assertEqual(
                self.plot.isKeepDataAspectRatio(), isKeepAspectRatio)