Skip to content

Commit b0742a1

Browse files
committed
Updated tutorial documentation.
1 parent 5d4f395 commit b0742a1

File tree

8 files changed

+239
-301
lines changed

8 files changed

+239
-301
lines changed
53.7 KB
Loading
-4.27 KB
Loading
143 KB
Loading
17.4 KB
Loading

docs/tutorials/csv.rst

Lines changed: 120 additions & 153 deletions
Large diffs are not rendered by default.

docs/tutorials/data.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ chart as a tree.
3636
.. list-table::
3737
:widths: 30 70
3838

39-
* - .. image:: /_static/images/data_structure.png
39+
* - .. image:: /_static/highcharts-chart-anatomy.png
4040
:width: 100%
4141
:alt: Diagram of chart structure: Chart > Options > Series Collection > Series > Data Collection > Data Point
4242

@@ -168,13 +168,7 @@ different ways you can represent this data:
168168
.. list-table::
169169
:widths: 30 70
170170

171-
* - .. code-block:: python
172-
173-
raw_data = np.genfromtext('census-time-series.csv',
174-
delimiter = ',',
175-
names = True)
176-
177-
- .. image:: /_static/images/raw_data_as_numpy.png
171+
- .. image:: /_static/tutorials/raw-data-as-numpy.png
178172
:width: 100%
179173
:alt: Rendering of the numpy.ndarray produced by np.genfromtext('census-time-series.csv', delimiter = ',', names = True)
180174

@@ -185,9 +179,12 @@ different ways you can represent this data:
185179

186180
* - .. code-block:: python
187181

188-
raw_data = pandas.read_csv('census-time-series.csv')
182+
raw_data = pandas.read_csv('census-time-series.csv',
183+
index_col = 0,
184+
thousands = ',',
185+
delimiter = ',')
189186

190-
* - .. image:: /_static/images/raw_data_as_pandas.png
187+
* - .. image:: /_static/tutorials/census-time-series-02.png
191188
:width: 100%
192189
:alt: Rendering of the Pandas DataFrame loaded from "census-time-series.csv"
193190

docs/tutorials/pandas.rst

Lines changed: 111 additions & 137 deletions
Large diffs are not rendered by default.

docs/tutorials/series.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ As a result, when you constructing your chart in **Highcharts for Python**,
2121
what you are really doing is constructing one or more :term:`series` that
2222
are then placed on a shared canvas, with shared axes, a shared legend, etc.
2323

24-
.. image:: /_static/images/chart-anatomy.png
24+
.. image:: /_static/highcharts-chart-anatomy.png
2525
:width: 75
2626
:align: right
2727
:alt: Diagram showing the conceptual components of a Highcharts chart

0 commit comments

Comments
 (0)