Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexLepauvre committed Aug 27, 2024
1 parent 4b49f9b commit e309ded
Show file tree
Hide file tree
Showing 41 changed files with 4,406 additions and 53 deletions.
9 changes: 5 additions & 4 deletions cog_plot/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Color Categories:
-----------------
- "iit": A specific color for IIT (e.g., Integrated Information Theory).
- "gnw": A specific color for GNW (e.g., Global Neuronal Workspace).
- "task relevant": A color indicating task-relevant elements.
Expand All @@ -23,14 +24,14 @@
Example Usage:
--------------
To use a specific color in a plot:
>>> import matplotlib.pyplot as plt
>>> color = DEFAULT_COLORS['iit']
>>> plt.plot(data, color=color)
>>> import matplotlib.pyplot as plt
>>> color = DEFAULT_COLORS['iit']
>>> plt.plot(data, color=color)
"""


DEFAULT_COLORS = {
"iit": [
0.00392156862745098,
Expand Down
2 changes: 1 addition & 1 deletion docs/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: c217ef42cdc8569d93e7ed95996e6b03
config: d683d1f5691da2c4a19f6c17d431aa8b
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file added docs/.doctrees/colors.doctree
Binary file not shown.
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/.doctrees/plotters.doctree
Binary file not shown.
12 changes: 12 additions & 0 deletions docs/_sources/colors.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Colors Module
=============

.. automodule:: cog_plot.colors
:members:
:undoc-members:
:show-inheritance:

.. autosummary::
:toctree: generated/

DEFAULT_COLORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.colors.DEFAULT\_COLORS
================================

.. currentmodule:: cog_plot.colors

.. autodata:: DEFAULT_COLORS
6 changes: 6 additions & 0 deletions docs/_sources/generated/cog_plot.plot_matrix.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.plot\_matrix
======================

.. currentmodule:: cog_plot

.. autofunction:: plot_matrix
6 changes: 6 additions & 0 deletions docs/_sources/generated/cog_plot.plot_time_series.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.plot\_time\_series
============================

.. currentmodule:: cog_plot

.. autofunction:: plot_time_series
6 changes: 6 additions & 0 deletions docs/_sources/generated/cog_plot.plotters.plot_matrix.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.plotters.plot\_matrix
===============================

.. currentmodule:: cog_plot.plotters

.. autofunction:: plot_matrix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.plotters.plot\_rasters
================================

.. currentmodule:: cog_plot.plotters

.. autofunction:: plot_rasters
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cog\_plot.plotters.plot\_time\_series
=====================================

.. currentmodule:: cog_plot.plotters

.. autofunction:: plot_time_series
5 changes: 4 additions & 1 deletion docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ This research was supported by Templeton World Charity Foundation (`TWCF0389 <ht
:maxdepth: 2
:caption: Contents:

cog_plot
plot_matrix <generated/cog_plot.plotters.plot_matrix>
plot_rasters <generated/cog_plot.plotters.plot_rasters>
plot_time_series <generated/cog_plot.plotters.plot_time_series>
colors
14 changes: 14 additions & 0 deletions docs/_sources/plotters.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Plotters Module
===============

.. automodule:: cog_plot.plotters
:members:
:undoc-members:
:show-inheritance:

.. autosummary::
:toctree: generated/

plot_time_series
plot_matrix
plot_rasters
Loading

0 comments on commit e309ded

Please sign in to comment.