Skip to content

Commit

Permalink
How-To for Visualization of Results
Browse files Browse the repository at this point in the history
- added an elaborate how-to on visualizing results
- added a subsection about heatmap normalization
- added a subsection about color maps, which shows built-in color maps
  and how to use them
- added a subsection on the Color-Map Specification Language (CMSL),
  with a simple grammar specification, a detailed explanation of its
  workings and a few examples along visualizations
- added a subsection on changing palettes
- added compile-time visualizations of heatmaps using
  sphinxcontrib.datatemplates
- added sphinx.datatemplates requirement
- added config option `generated_path` to choose where generated images
  should be stored
  • Loading branch information
chr5tphr committed Jan 12, 2022
1 parent 90e299a commit 86df780
Show file tree
Hide file tree
Showing 3 changed files with 514 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
sphinx-copybutton>=0.4.0
sphinx-rtd-theme>=1.0.0
sphinxcontrib.datatemplates>=0.9.0
13 changes: 12 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,20 @@
'sphinx.ext.imgmath',
'sphinx.ext.extlinks',
'sphinx_rtd_theme',
'sphinx_copybutton'
'sphinx_copybutton',
'sphinxcontrib.datatemplates',
]


def config_inited_handler(app, config):
os.makedirs(os.path.join(app.srcdir, app.config.generated_path), exist_ok=True)


def setup(app):
app.add_config_value('generated_path', '_generated', 'env')
app.connect('config-inited', config_inited_handler)


# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
Loading

0 comments on commit 86df780

Please sign in to comment.