Skip to content

Commit

Permalink
Stub out remaining examples. #11.
Browse files Browse the repository at this point in the history
  • Loading branch information
onyxfish committed May 20, 2016
1 parent a7e6f02 commit b844d95
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ Simple pairs
Table from csv.reader
---------------------

Leather does not automatically convert numerical strings, such as those stored in a CSV. If you want that you'll need to use a smarter table reader, such as `agate <http://agate.rtfd.io/>`_
Sequence row data, such as is returned by :func:`csv.reader` can be accessed by specifying the indices of the columns containing the :code:`x` and :code:`y` values.

Note that leather does not automatically convert numerical strings, such as those stored in a CSV. If you want that you'll need to use a smarter table reader, such as `agate <http://agate.rtfd.io/>`_

.. literalinclude:: ../examples/csv_reader.py
:language: python
Expand All @@ -26,6 +28,8 @@ Leather does not automatically convert numerical strings, such as those stored i
Table from csv.DictReader
-------------------------

Dict row data, such as is returned by :class:`csv.DictReader` can be accessed by specifying the indices of the columns containing the :code:`x` and :code:`y` values.

See previous example for note on strings from CSVs.

.. literalinclude:: ../examples/csv_dict_reader.py
Expand Down Expand Up @@ -67,18 +71,49 @@ Lines
Scales
======

Linear
------

TKTK

Ordinal
-------

TKTK

Temporal
--------

TKTK

Axes
====

Changing tick count
-------------------

TKTK

Customizing tick format
-----------------------

TKTK

Styling
=======

Changing theme values
---------------------

TKTK

Changing chart defaults
-----------------------

TKTK

Styling data based on value
---------------------------

.. literalinclude:: ../examples/colorized_dots.py
:language: python
Expand Down

0 comments on commit b844d95

Please sign in to comment.