Skip to content

Commit

Permalink
**CI** Formatted code + Updated version number and documentation. [sk…
Browse files Browse the repository at this point in the history
…ip ci]
  • Loading branch information
thorwhalen committed Sep 5, 2024
1 parent b6ab392 commit bfcaf3a
Show file tree
Hide file tree
Showing 41 changed files with 1,922 additions and 1,428 deletions.
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: f049ed71ad827f57439e6551540186a3
config: 3eb4095a5d595534eb16a8b51a1c08ae
tags: 645f666f9bcd5a90fca523b33c5a78b7
32 changes: 20 additions & 12 deletions docs/_modules/index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<html class="writer-html5" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &mdash; oplot 0.1.9 documentation</title><link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" />
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
<title>Overview: module code &mdash; oplot 0.1.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css" />


<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>

<script src="../_static/jquery.js"></script>
<script src="../_static/underscore.js"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
<script src="../_static/doctools.js"></script>
<script src="../_static/language_data.js"></script>
<script src="../_static/sphinx_highlight.js"></script>
<script src="../_static/toggleprompt.js"></script>
<script src="../_static/clipboard.min.js"></script>
<script src="../_static/copybutton.js"></script>
Expand All @@ -28,17 +32,21 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../index.html" class="icon icon-home"> oplot



<a href="../index.html" class="icon icon-home">
oplot
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p><span class="caption-text">Contents:</span></p>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../module_docs/oplot.html">oplot</a></li>
<li class="toctree-l1"><a class="reference internal" href="../module_docs/oplot/matrix.html">oplot.matrix</a></li>
Expand Down Expand Up @@ -66,7 +74,7 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../index.html" class="icon icon-home"></a></li>
<li><a href="../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item active">Overview: module code</li>
<li class="wy-breadcrumbs-aside">
</li>
Expand Down
200 changes: 181 additions & 19 deletions docs/_modules/oplot/matrix.html

Large diffs are not rendered by default.

38 changes: 23 additions & 15 deletions docs/_modules/oplot/multi_plot.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<html class="writer-html5" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>oplot.multi_plot &mdash; oplot 0.1.9 documentation</title><link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/copybutton.css" type="text/css" />
<link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
<title>oplot.multi_plot &mdash; oplot 0.1.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="../../_static/graphviz.css" />


<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>

<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/language_data.js"></script>
<script src="../../_static/sphinx_highlight.js"></script>
<script src="../../_static/toggleprompt.js"></script>
<script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script>
Expand All @@ -28,17 +32,21 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../../index.html" class="icon icon-home"> oplot



<a href="../../index.html" class="icon icon-home">
oplot
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p><span class="caption-text">Contents:</span></p>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../module_docs/oplot.html">oplot</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../module_docs/oplot/matrix.html">oplot.matrix</a></li>
Expand Down Expand Up @@ -66,7 +74,7 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home"></a></li>
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../index.html">Module code</a></li>
<li class="breadcrumb-item active">oplot.multi_plot</li>
<li class="wy-breadcrumbs-aside">
Expand All @@ -84,7 +92,7 @@ <h1>Source code for oplot.multi_plot</h1><div class="highlight"><pre>


<span class="k">def</span> <span class="nf">_get_attr_args_and_kwargs_from_ax_call_item</span><span class="p">(</span><span class="n">ax_call_item</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>

<span class="sd"> :param ax_call_item:</span>
<span class="sd"> :return:</span>
Expand All @@ -110,7 +118,7 @@ <h1>Source code for oplot.multi_plot</h1><div class="highlight"><pre>
<div class="viewcode-block" id="multi_row_plot"><a class="viewcode-back" href="../../module_docs/oplot/multi_plot.html#oplot.multi_plot.multi_row_plot">[docs]</a><span class="k">def</span> <span class="nf">multi_row_plot</span><span class="p">(</span>
<span class="n">data_list</span><span class="o">=</span><span class="p">(),</span> <span class="n">plot_func</span><span class="o">=</span><span class="n">plt</span><span class="o">.</span><span class="n">plot</span><span class="p">,</span> <span class="n">figsize</span><span class="o">=</span><span class="mi">3</span><span class="p">,</span> <span class="n">plot_func_kwargs</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">ax_calls</span><span class="o">=</span><span class="p">()</span>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Quickly plotting multiple rows of data.</span>

<span class="sd"> :param data_list: The list of datas to plot. For each &quot;row_data&quot; of data_list, a row will be created and plot_func</span>
Expand Down Expand Up @@ -189,7 +197,7 @@ <h1>Source code for oplot.multi_plot</h1><div class="highlight"><pre>
<span class="n">outer_axis_labels_only</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
<span class="n">show</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Each function in list_func_per_ax takes an ax as input and draw something on it</span>

<span class="sd"> outer_axis_labels_only: if set to true, only the axis labels on the left column and bottom row will show</span>
Expand Down
38 changes: 23 additions & 15 deletions docs/_modules/oplot/multiplots.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<html class="writer-html5" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>oplot.multiplots &mdash; oplot 0.1.9 documentation</title><link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/copybutton.css" type="text/css" />
<link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
<title>oplot.multiplots &mdash; oplot 0.1.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../../_static/css/theme.css" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="../../_static/graphviz.css" />


<!--[if lt IE 9]>
<script src="../../_static/js/html5shiv.min.js"></script>
<![endif]-->
<script id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>

<script src="../../_static/jquery.js"></script>
<script src="../../_static/underscore.js"></script>
<script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
<script src="../../_static/doctools.js"></script>
<script src="../../_static/language_data.js"></script>
<script src="../../_static/sphinx_highlight.js"></script>
<script src="../../_static/toggleprompt.js"></script>
<script src="../../_static/clipboard.min.js"></script>
<script src="../../_static/copybutton.js"></script>
Expand All @@ -28,17 +32,21 @@
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="../../index.html" class="icon icon-home"> oplot



<a href="../../index.html" class="icon icon-home">
oplot
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p><span class="caption-text">Contents:</span></p>
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../module_docs/oplot.html">oplot</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../module_docs/oplot/matrix.html">oplot.matrix</a></li>
Expand Down Expand Up @@ -66,7 +74,7 @@
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../index.html" class="icon icon-home"></a></li>
<li><a href="../../index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item"><a href="../index.html">Module code</a></li>
<li class="breadcrumb-item active">oplot.multiplots</li>
<li class="wy-breadcrumbs-aside">
Expand All @@ -86,7 +94,7 @@ <h1>Source code for oplot.multiplots</h1><div class="highlight"><pre>


<div class="viewcode-block" id="make_space_above"><a class="viewcode-back" href="../../module_docs/oplot/multiplots.html#oplot.multiplots.make_space_above">[docs]</a><span class="k">def</span> <span class="nf">make_space_above</span><span class="p">(</span><span class="n">axes</span><span class="p">,</span> <span class="n">topmargin</span><span class="o">=</span><span class="mi">1</span><span class="p">):</span>
<span class="sd">&quot;&quot;&quot; increase figure size to make topmargin (in inches) space for</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot; increase figure size to make topmargin (in inches) space for</span>
<span class="sd"> titles, without changing the axes sizes&quot;&quot;&quot;</span>

<span class="n">fig</span> <span class="o">=</span> <span class="n">axes</span><span class="o">.</span><span class="n">flatten</span><span class="p">()[</span><span class="mi">0</span><span class="p">]</span><span class="o">.</span><span class="n">figure</span>
Expand Down Expand Up @@ -115,7 +123,7 @@ <h1>Source code for oplot.multiplots</h1><div class="highlight"><pre>
<span class="n">w_pad</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="n">title_offset</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Draw one grid of plots from the individual plots</span>

<span class="sd"> :param list_func_per_ax: a list/generator of functions, each taking an ax object as an input and plotting something on it</span>
Expand Down Expand Up @@ -186,7 +194,7 @@ <h1>Source code for oplot.multiplots</h1><div class="highlight"><pre>
<span class="n">dpi</span><span class="o">=</span><span class="mi">300</span><span class="p">,</span>
<span class="n">plot</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="p">):</span>
<span class="sd">&quot;&quot;&quot;</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Same as ax_func_to_plot but saves on several files</span>
<span class="sd"> :param max_plot_per_file: the maximum number of plots per file</span>
<span class="sd"> &quot;&quot;&quot;</span>
Expand Down
Loading

0 comments on commit bfcaf3a

Please sign in to comment.