Skip to content

Commit

Permalink
0.15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Feb 26, 2024
1 parent d98de22 commit 0ffa573
Show file tree
Hide file tree
Showing 206 changed files with 2,658 additions and 3,222 deletions.
12 changes: 6 additions & 6 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

<title>&lt;no title&gt; &#8212; DSS-Python 0.15.1 documentation</title>
<title>&lt;no title&gt; &#8212; DSS-Python 0.15.3 documentation</title>



Expand All @@ -28,7 +28,7 @@
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.1/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="_static/vendor/fontawesome/6.5.1/webfonts/fa-regular-400.woff2" />

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=362ab14a" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/sphinx-book-theme.css?v=384b581d" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
Expand All @@ -38,7 +38,7 @@
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
<script src="_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>

<script src="_static/documentation_options.js?v=c98a3daa"></script>
<script src="_static/documentation_options.js?v=65023fd1"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/sphinx-book-theme.js?v=efea14e4"></script>
Expand Down Expand Up @@ -137,8 +137,8 @@



<img src="_static/dss-python.svg" class="logo__image only-light" alt="DSS-Python 0.15.1 documentation - Home"/>
<script>document.write(`<img src="_static/dss-python-dark.svg" class="logo__image only-dark" alt="DSS-Python 0.15.1 documentation - Home"/>`);</script>
<img src="_static/dss-python.svg" class="logo__image only-light" alt="DSS-Python 0.15.3 documentation - Home"/>
<script>document.write(`<img src="_static/dss-python-dark.svg" class="logo__image only-dark" alt="DSS-Python 0.15.3 documentation - Home"/>`);</script>


</a></div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
2 changes: 1 addition & 1 deletion _sources/apidocs/dss/dss.UserModels.wrappers.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Bases: {py:obj}`dss.UserModels.wrappers.CommonWrapper`
````{py:data} GenUserModel
:canonical: dss.UserModels.wrappers.GenUserModel
:value: >
None
'GenUserModelWrapper(...)'
```{autodoc2-docstring} dss.UserModels.wrappers.GenUserModel
```
Expand Down
2 changes: 1 addition & 1 deletion _sources/apidocs/dss/dss._cffi_api_util.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ Bases: {py:obj}`dss._cffi_api_util.Base`
````{py:data} interface_classes
:canonical: dss._cffi_api_util.interface_classes
:value: >
None
'set(...)'
```{autodoc2-docstring} dss._cffi_api_util.interface_classes
```
Expand Down
15 changes: 0 additions & 15 deletions _sources/apidocs/dss/dss.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ dss.plot
- ```{autodoc2-docstring} dss.DssException
:summary:
```
* - {py:obj}`api_util <dss.api_util>`
- ```{autodoc2-docstring} dss.api_util
:summary:
```
* - {py:obj}`dss <dss.dss>`
- ```{autodoc2-docstring} dss.dss
:summary:
Expand Down Expand Up @@ -134,17 +130,6 @@ dss.plot
````

````{py:data} api_util
:canonical: dss.api_util
:type: dss._cffi_api_util.CffiApiUtil
:value: >
None
```{autodoc2-docstring} dss.api_util
```
````

````{py:data} dss
:canonical: dss.dss
:type: dss.IDSS.IDSS
Expand Down
14 changes: 7 additions & 7 deletions _sources/apidocs/dss/dss.plot.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
````{py:data} DSS_MARKER_20
:canonical: dss.plot.DSS_MARKER_20
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_20
```
Expand All @@ -258,7 +258,7 @@
````{py:data} DSS_MARKER_21
:canonical: dss.plot.DSS_MARKER_21
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_21
```
Expand All @@ -268,7 +268,7 @@
````{py:data} DSS_MARKER_22
:canonical: dss.plot.DSS_MARKER_22
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_22
```
Expand All @@ -278,7 +278,7 @@
````{py:data} DSS_MARKER_23
:canonical: dss.plot.DSS_MARKER_23
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_23
```
Expand All @@ -288,7 +288,7 @@
````{py:data} DSS_MARKER_37
:canonical: dss.plot.DSS_MARKER_37
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_37
```
Expand All @@ -298,7 +298,7 @@
````{py:data} DSS_MARKER_38
:canonical: dss.plot.DSS_MARKER_38
:value: >
None
'Path(...)'
```{autodoc2-docstring} dss.plot.DSS_MARKER_38
```
Expand Down Expand Up @@ -618,7 +618,7 @@
````{py:data} node_re
:canonical: dss.plot.node_re
:value: >
None
'compile(...)'
```{autodoc2-docstring} dss.plot.node_re
```
Expand Down
14 changes: 14 additions & 0 deletions _sources/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ relevant. See [DSS C-API's repository](https://github.com/dss-extensions/dss_cap

## 0.15.x

### 0.15.3

Released on 2024-02-26.

- Upgrade the backend to [**DSS C-API 0.14.2**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.2). There are a couple of minor fixes, including for `Lines.Parent`.
- `patch_dss_com`: Allow the DSS instance to be callable for better compatibility with our DSS engine. Note that this won't have performance benefits nor handles complex scripts.
- Fix Bus callback integration with AltDSS-Python. The relevant code should be moved there later.

### 0.15.2

Released on 2024-02-16.

- Upgrade the backend to [**DSS C-API 0.14.1**](https://github.com/dss-extensions/dss_capi/releases/tag/0.14.1). Mostly for AltDSS-Python as it shouldn't affect the DSS-Python or OpenDSSDirect.py's classic API.

### 0.15.1

Released on 2024-02-12.
Expand Down
34 changes: 32 additions & 2 deletions _sources/examples/Plotting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1338,13 +1338,43 @@
"source": [
"try:\n",
" import scienceplots\n",
" with plt.style.context('science'):\n",
" with plt.style.context(['science', 'no-latex']): # if you have LaTeX installed, remove 'no-latex'\n",
" dss.Text.Command = 'plot circuit c1=red'\n",
"except:\n",
" # let's ignore if the user didn´t install SciencePlots\n",
" pass"
]
},
{
"cell_type": "markdown",
"id": "03aa7d32",
"metadata": {},
"source": [
"### Adjusting specific elements\n",
"\n",
"If using a style is not desired, users can adjust specific elements. [`rc_context`](https://matplotlib.org/stable/api/matplotlib_configuration_api.html#matplotlib.rc_context) is a way to control the elements temporarily, while [`rcParams`](https://matplotlib.org/stable/api/matplotlib_configuration_api.html#matplotlib.rcParams) allow changing the params for the current session."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9921c23f",
"metadata": {},
"outputs": [],
"source": [
"from matplotlib import rc_context\n",
"\n",
"with rc_context({\n",
" 'font.size': 8,\n",
" 'font.family': 'Serif',\n",
" 'font.weight': 'bold',\n",
" 'scatter.marker': 's',\n",
" 'lines.markersize': 10,\n",
" 'image.cmap': 'rainbow',\n",
"}):\n",
" dss('plot scatter')"
]
},
{
"attachments": {},
"cell_type": "markdown",
Expand Down Expand Up @@ -1485,7 +1515,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.10"
"version": "3.12.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion _static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.15.1',
VERSION: '0.15.3',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
80 changes: 40 additions & 40 deletions _static/locales/ar/LC_MESSAGES/booktheme.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,68 +8,68 @@ msgstr ""
"Language: ar\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "Download source file"
msgstr "تنزيل ملف المصدر"

msgid "suggest edit"
msgstr "أقترح تحرير"
msgid "Theme by the"
msgstr "موضوع بواسطة"

msgid "Toggle navigation"
msgstr "تبديل التنقل"
msgid "Open an issue"
msgstr "افتح قضية"

msgid "open issue"
msgstr "قضية مفتوحة"
msgid "Contents"
msgstr "محتويات"

msgid "Download notebook file"
msgstr "تنزيل ملف دفتر الملاحظات"

msgid "repository"
msgstr "مخزن"
msgid "Sphinx Book Theme"
msgstr "موضوع كتاب أبو الهول"

msgid "Theme by the"
msgstr "موضوع بواسطة"
msgid "Fullscreen mode"
msgstr "وضع ملء الشاشة"

msgid "Print to PDF"
msgstr "طباعة إلى PDF"
msgid "Edit this page"
msgstr "قم بتحرير هذه الصفحة"

msgid "Download this page"
msgstr "قم بتنزيل هذه الصفحة"
msgid "By"
msgstr "بواسطة"

msgid "Copyright"
msgstr "حقوق النشر"

msgid "Last updated on"
msgstr "آخر تحديث في"

msgid "Launch"
msgstr "إطلاق"
msgid "Source repository"
msgstr "مستودع المصدر"

msgid "Open an issue"
msgstr "افتح قضية"
msgid "previous page"
msgstr "الصفحة السابقة"

msgid "Fullscreen mode"
msgstr "وضع ملء الشاشة"
msgid "next page"
msgstr "الصفحة التالية"

msgid "Sphinx Book Theme"
msgstr "موضوع كتاب أبو الهول"
msgid "Toggle navigation"
msgstr "تبديل التنقل"

msgid "Contents"
msgstr "محتويات"
msgid "repository"
msgstr "مخزن"

msgid "Edit this page"
msgstr "قم بتحرير هذه الصفحة"
msgid "suggest edit"
msgstr "أقترح تحرير"

msgid "next page"
msgstr "الصفحة التالية"
msgid "open issue"
msgstr "قضية مفتوحة"

msgid "Source repository"
msgstr "مستودع المصدر"
msgid "Launch"
msgstr "إطلاق"

msgid "By"
msgstr "بواسطة"
msgid "Print to PDF"
msgstr "طباعة إلى PDF"

msgid "By the"
msgstr "بواسطة"

msgid "previous page"
msgstr "الصفحة السابقة"
msgid "Last updated on"
msgstr "آخر تحديث في"

msgid "Download source file"
msgstr "تنزيل ملف المصدر"

msgid "Download this page"
msgstr "قم بتنزيل هذه الصفحة"
Loading

0 comments on commit 0ffa573

Please sign in to comment.