add nmreval to sys.path; arrow icon;

This commit is contained in:
dominik 2022-03-25 11:04:02 +01:00
parent a300182153
commit a72d2d59c5
10 changed files with 67 additions and 2 deletions

View File

@ -1,8 +1,11 @@
#!/usr/bin/env python3
import sys
import pathlib
sys.path.append(pathlib.Path().cwd().parent)
print(sys.path)
# pyqtgraph warns on Mac if QApplication is created when it is imported
import pyqtgraph
# import pyqtgraph
from nmreval.lib.logger import handle_exception
sys.excepthook = handle_exception

View File

@ -0,0 +1,27 @@
{{ objname | escape | underline}}
Import as {{ fullname }}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block methods %}
{% if methods %}
.. rubric:: {{ _('Methods') }}
.. autosummary::
:toctree:
{% for item in methods %}
{%- if not item.startswith('_') %}
~{{ name }}.{{ item }}
{%- endif %}
{%- endfor %}
{% endif %}
{% endblock %}
.. minigallery:: {{module}}.{{objname}}
:add-heading:

View File

@ -0,0 +1,33 @@
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
.. autoclass:: {{ objname }}
{% block methods %}
{% if methods %}
.. rubric:: {{ _('Methods') }}
{% for item in methods %}
{% if not item.startswith('_') %}
.. automethod:: {{ item }}
{%- endif %}
{%- endfor %}
{% endif %}
{% endblock %}
{% block attributes %}
{% if attributes %}
.. rubric:: {{ _('Attributes') }}
{% for item in attributes %}
.. autoattribute:: {{ item }}
{%- endfor %}
{% endif %}
{% endblock %}
.. include:: {{ fullname }}.examples
.. raw:: html
<div class="clearer"></div>

BIN
resources/_rc/left.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
resources/_rc/right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -24,7 +24,9 @@
"actionMouse_behaviour": "mouse",
"menuNormalize": "normal",
"action_mean_t1": "mean",
"menuLimits": "fit_region"
"menuLimits": "fit_region",
"actionPrevious": "left",
"actionNext_window": "right"
},
"DataWidget": {
"graph_toolButton": "new",

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB