diff --git a/docs/source/plotting/index.rst b/docs/source/plotting/index.rst
index d2f2695016c825f1593ebaaaabbca13342318ea7..f647fe9a582c0de9cc41ab153c84a850477123e1 100644
--- a/docs/source/plotting/index.rst
+++ b/docs/source/plotting/index.rst
@@ -413,14 +413,15 @@ Custom Color Cycle (Line / 1D plots)
 The Default Color Cycle doesn't have to be used. Here is an example where a Custom Color Cycle is chosen. Make sure to fill the list `custom_colors` with either the HTML codes or recognised names for the desired colours. 
 Both can be found `online <https://www.rapidtables.com/web/color/html-color-codes.html>`_.
 
-.. code-block:: python
+.. plot::
+   :include-source:
 
    from __future__ import (absolute_import, division, print_function, unicode_literals)
    import matplotlib.pyplot as plt
    from mantid import plots
    from mantid.simpleapi import *
 
-   ws=Load('164199.nxs')
+   ws=Load('GEM40979.raw')
    Number = 12 # How many Spectra to Plot
 
    prop_cycle = plt.rcParams['axes.prop_cycle']
@@ -445,11 +446,6 @@ Both can be found `online <https://www.rapidtables.com/web/color/html-color-code
    fig.suptitle('Line Plots: Color Cycle', fontsize='x-large')
    #fig.show()
 
-.. figure:: ../images/ColorCustomCycleLine.PNG
-   :class: screenshot
-   :width: 750px
-   :align: center
-
 Custom Colormap (MantidPlot)
 ############################