def METHOD_NAME(self):
    def cb(X):
        return NdOverlay({i: Curve(np.arange(10)+i) for i in range(X)})
    dmap = DynamicMap(cb, kdims=['X']).redim.range(X=(1, 10))
    plot = mpl_renderer.get_plot(dmap)
    self.assertEqual(len(plot.subplots), 1)
    plot.update((3,))
    self.assertEqual(len(plot.subplots), 3)
    for i, subplot in enumerate(plot.subplots.values()):
        self.assertEqual(subplot.cyclic_index, i)