From 2f18d86552b1cc637f9d50c816917e547b775c11 Mon Sep 17 00:00:00 2001
From: Daniel Murphy <daniel.murphy@stfc.ac.uk>
Date: Mon, 9 Dec 2019 16:14:43 +0000
Subject: [PATCH] Plotting works and chose a new data file

---
 docs/source/plotting/index.rst | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/docs/source/plotting/index.rst b/docs/source/plotting/index.rst
index d2f2695016c..f647fe9a582 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)
 ############################
 
-- 
GitLab