Skip to content

Commit 460857b

Browse files
authored
Update for transferred github org (#267)
* update links for new github org * docs: update rtd config * fix: accidental bug
1 parent dbb9a94 commit 460857b

12 files changed

+62
-31
lines changed

readthedocs.yml renamed to .readthedocs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
version: 2
2+
build:
3+
os: ubuntu-22.04
4+
tools:
5+
python: "3.10"
26
python:
3-
version: 3.7
47
install:
58
- method: pip
69
path: .
710
extra_requirements:
811
- doc
912
- jupyter
10-
# - requirements: docs/requirements.txt
1113

1214
# Build documentation in the docs/ directory with Sphinx
1315
sphinx:

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
},
199199
"path_to_docs": "docs",
200200
"repository_branch": "master",
201-
"repository_url": "https://github.com/ianhi/mpl-interactions",
201+
"repository_url": "https://github.com/mpl-extensions/mpl-interactions",
202202
"use_download_button": True,
203203
"use_edit_page_button": True,
204204
"use_issues_button": True,
@@ -254,4 +254,4 @@ def linkcode_resolve(domain, info):
254254

255255
fn = os.path.relpath(fn, start=os.path.dirname(mpl_inter.__file__))
256256

257-
return f"https://github.com/ianhi/mpl-interactions/blob/master/mpl_interactions/{fn}{linespec}"
257+
return f"https://github.com/mpl-extensions/mpl-interactions/blob/main/mpl_interactions/{fn}{linespec}"

docs/contributing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Contributing
22

3-
Thanks for thinking of a way to help improve this library! Remember that contributions come in all shapes and sizes beyond writing bug fixes. Contributing to [documentation](#documentation), opening new [issues](https://github.com/ianhi/mpl-interactions/issues) for bugs, asking for clarification on things you find unclear, and requesting new features, are all super valuable contributions.
3+
Thanks for thinking of a way to help improve this library! Remember that contributions come in all shapes and sizes beyond writing bug fixes. Contributing to [documentation](#documentation), opening new [issues](https://github.com/mpl-extensions/mpl-interactions/issues) for bugs, asking for clarification on things you find unclear, and requesting new features, are all super valuable contributions.
44

55
## Code Improvements
66

7-
All development for this library happens on GitHub at [mpl_interactions](https://github.com/ianhi/mpl-interactions). We recommend you work with a [Conda](https://www.anaconda.com/products/individual) environment (or an alternative virtual environment like [`venv`](https://docs.python.org/3/library/venv.html)).
7+
All development for this library happens on GitHub at [mpl_interactions](https://github.com/mpl-extensions/mpl-interactions). We recommend you work with a [Conda](https://www.anaconda.com/products/individual) environment (or an alternative virtual environment like [`venv`](https://docs.python.org/3/library/venv.html)).
88

99
```bash
1010
git clone <your fork>
@@ -40,7 +40,7 @@ If you are working in a Jupyter Notebook, then in order to see your code changes
4040

4141
Using Git/GitHub can confusing (<https://xkcd.com/1597>), so if you're new to Git, you may find it helpful to use a program like [GitHub Desktop](https://desktop.github.com) and to follow a [guide](https://github.com/firstcontributions/first-contributions#first-contributions).
4242

43-
Also feel free to ask for help/advice on the relevant GitHub [issue](https://github.com/ianhi/mpl-interactions/issues).
43+
Also feel free to ask for help/advice on the relevant GitHub [issue](https://github.com/extensions/mpl-interactions/issues).
4444

4545
## Documentation
4646

@@ -72,4 +72,4 @@ To accomplish, these GIFs are best stored in `docs/_static/images`. Then, below
7272

7373
## Thank you to our current team!
7474

75-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributors members can be found on `mpl_interactions`' [README](https://github.com/ianhi/mpl-interactions#contributors-) page.
75+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributors members can be found on `mpl_interactions`' [README](https://github.com/extensions/mpl-interactions#contributors-) page.

docs/examples/gallery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Gallery
22

3-
The gallery is currently woefully incomplete as it is serving as a test case for developing <https://github.com/ianhi/mpl-playback>, which is a very new project. You should follow the tutorials available in the table of contents on the left of the screen in order to learn how to use this package.
3+
The gallery is currently woefully incomplete as it is serving as a test case for developing <https://github.com/mpl-extensions/mpl-playback>, which is a very new project. You should follow the tutorials available in the table of contents on the left of the screen in order to learn how to use this package.

docs/examples/hyperslicer.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
"source": [
231231
"### Other ways of specifying axes\n",
232232
"\n",
233-
"All of the below are valid calls to hyperslicer, which generally supports omitting any of the labels or names while falling back to integer valued sliders. If you come across bugs relating to omitting values or passing {obj}`None`, please feel free to [open an issue](https://github.com/ianhi/mpl-interactions/issues)."
233+
"All of the below are valid calls to hyperslicer, which generally supports omitting any of the labels or names while falling back to integer valued sliders. If you come across bugs relating to omitting values or passing {obj}`None`, please feel free to [open an issue](https://github.com/mpl-extensions/mpl-interactions/issues)."
234234
]
235235
},
236236
{
@@ -341,7 +341,7 @@
341341
],
342342
"metadata": {
343343
"kernelspec": {
344-
"display_name": "Python 3",
344+
"display_name": "Python 3 (ipykernel)",
345345
"language": "python",
346346
"name": "python3"
347347
},
@@ -355,7 +355,14 @@
355355
"name": "python",
356356
"nbconvert_exporter": "python",
357357
"pygments_lexer": "ipython3",
358-
"version": "3.8.6"
358+
"version": "3.11.0"
359+
},
360+
"widgets": {
361+
"application/vnd.jupyter.widget-state+json": {
362+
"state": {},
363+
"version_major": 2,
364+
"version_minor": 0
365+
}
359366
}
360367
},
361368
"nbformat": 4,

docs/examples/rossler-attractor.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"\n",
4141
"The Rossler attractor is a 3 dimensional system, but as 3D plots are not yet supported by `mpl_interactions` we will only visualize the `x` and `y` components.\n",
4242
"\n",
43-
"**Note:** Matplotlib supports 3D plots, but `mpl_interactions` does not yet support them. That makes this a great place to contribute to `mpl_interactions` if you're interested in doing so. If you want to have a crack at it feel free to comment on [ianhi/mpl-interactions#89](https://github.com/ianhi/mpl-interactions/issues/89) and [`@ianhi`](https://github.com/ianhi) will be happy to help you through the process.\n",
43+
"**Note:** Matplotlib supports 3D plots, but `mpl_interactions` does not yet support them. That makes this a great place to contribute to `mpl_interactions` if you're interested in doing so. If you want to have a crack at it feel free to comment on [mpl-extensions/mpl-interactions#89](https://github.com/mpl-extensions/mpl-interactions/issues/89) and [`@ianhi`](https://github.com/ianhi) will be happy to help you through the process.\n",
4444
"\n",
4545
"\n",
4646
"### Caching\n",
@@ -174,7 +174,7 @@
174174
],
175175
"metadata": {
176176
"kernelspec": {
177-
"display_name": "Python 3",
177+
"display_name": "Python 3 (ipykernel)",
178178
"language": "python",
179179
"name": "python3"
180180
},
@@ -188,7 +188,14 @@
188188
"name": "python",
189189
"nbconvert_exporter": "python",
190190
"pygments_lexer": "ipython3",
191-
"version": "3.9.0"
191+
"version": "3.11.0"
192+
},
193+
"widgets": {
194+
"application/vnd.jupyter.widget-state+json": {
195+
"state": {},
196+
"version_major": 2,
197+
"version_minor": 0
198+
}
192199
}
193200
},
194201
"nbformat": 4,

docs/examples/scatter-selector.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"\n",
5050
"For this example we have pre-cleaned data that we will just load. If you are curious on how the data was originally processed you see the full code at the bottom of this notebook.\n",
5151
"\n",
52-
"The datafiles that we load for this example are available for download at <https://github.com/ianhi/mpl-interactions/tree/master/docs/examples/data>"
52+
"The datafiles that we load for this example are available for download at <https://github.com/mpl-extensions/mpl-interactions/tree/master/docs/examples/data>"
5353
]
5454
},
5555
{
@@ -226,7 +226,7 @@
226226
],
227227
"metadata": {
228228
"kernelspec": {
229-
"display_name": "Python 3",
229+
"display_name": "Python 3 (ipykernel)",
230230
"language": "python",
231231
"name": "python3"
232232
},
@@ -240,7 +240,14 @@
240240
"name": "python",
241241
"nbconvert_exporter": "python",
242242
"pygments_lexer": "ipython3",
243-
"version": "3.7.8"
243+
"version": "3.11.0"
244+
},
245+
"widgets": {
246+
"application/vnd.jupyter.widget-state+json": {
247+
"state": {},
248+
"version_major": 2,
249+
"version_minor": 0
250+
}
244251
}
245252
},
246253
"nbformat": 4,

docs/examples/text-annotations.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"\n",
1111
"```{note}\n",
12-
"Support for modifying text is not complete as none of the function implemented support updating `fontdict` or other text properties like size and color. However, the core functionality is there to place text, change it's position, or change what it reads. see https://github.com/ianhi/mpl-interactions/issues/247 for updates.\n",
12+
"Support for modifying text is not complete as none of the function implemented support updating `fontdict` or other text properties like size and color. However, the core functionality is there to place text, change it's position, or change what it reads. see https://github.com/mpl-extensions/mpl-interactions/issues/247 for updates.\n",
1313
"```"
1414
]
1515
},
@@ -164,7 +164,14 @@
164164
"name": "python",
165165
"nbconvert_exporter": "python",
166166
"pygments_lexer": "ipython3",
167-
"version": "3.9.9"
167+
"version": "3.11.0"
168+
},
169+
"widgets": {
170+
"application/vnd.jupyter.widget-state+json": {
171+
"state": {},
172+
"version_major": 2,
173+
"version_minor": 0
174+
}
168175
}
169176
},
170177
"nbformat": 4,

docs/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplot
4040

4141
## Development installation
4242

43-
First create your own fork of <https://github.com/ianhi/mpl-interactions>.
43+
First create your own fork of <https://github.com/mpl-extensions/mpl-interactions>.
4444

4545
```bash
4646
git clone <your fork>

mpl_interactions/controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ def _slider_updated(self, change, key, values):
148148
else:
149149
c = change["new"]
150150
# int casting due to a bug in numpy < 1.19
151-
# see https://github.com/ianhi/mpl-interactions/pull/155
151+
# see https://github.com/mpl-extensions/mpl-interactions/pull/155
152152
if isinstance(c, Iterable):
153153
# range sliders return two indices
154154
# check for iterable as mpl and ipywidgets sliders don't both use
155-
# tuples - https://github.com/ianhi/mpl-interactions/issues/195
155+
# tuples - https://github.com/mpl-extensions/mpl-interactions/issues/195
156156
self.params[key] = values[[int(c) for c in change["new"]]]
157157
if key == "vmin_vmax":
158158
self.params["vmin"] = self.params[key][0]

mpl_interactions/pyplot.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,10 @@ def interactive_hist(
316316
"""
317317
Control the contents of a histogram using widgets.
318318
319-
See https://github.com/ianhi/mpl-interactions/pull/73#issue-470638134 for a discussion
320-
of the limitations of this function. These limitations will be improved once
321-
https://github.com/matplotlib/matplotlib/pull/18275 has been merged.
319+
See https://github.com/mpl-extensions/mpl-interactions/pull/73#issue-470638134
320+
for a discussion of the limitations of this function. These limitations will
321+
can improved once https://github.com/matplotlib/matplotlib/pull/18275 has
322+
been merged.
322323
323324
Parameters
324325
----------
@@ -1270,7 +1271,7 @@ def interactive_text(
12701271
12711272
.. note::
12721273
1273-
fontdict properties are currently static - see https://github.com/ianhi/mpl-interactions/issues/247
1274+
fontdict properties are currently static - see https://github.com/mpl-extensions/mpl-interactions/issues/247
12741275
12751276
12761277
Parameters
@@ -1282,7 +1283,7 @@ def interactive_text(
12821283
can include {} style formatting. e.g. 'The voltage is {volts:.2f}'
12831284
fontdict : dict[str]
12841285
Passed through to the Text object. Currently not dynamically updateable. See
1285-
https://github.com/ianhi/mpl-interactions/issues/247
1286+
https://github.com/mpl-extensions/mpl-interactions/issues/247
12861287
controls : mpl_interactions.controller.Controls
12871288
An existing controls object if you want to tie multiple plot elements to the same set of
12881289
controls

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ description = Matplotlib aware interact functions
77
long_description = file: README.md
88
long_description_content_type = text/markdown
99
project_urls =
10-
Tracker = https://github.com/ianhi/mpl-interactions/issues
11-
Changelog = https://github.com/ianhi/mpl-interactions/releases
10+
Tracker = https://github.com/mpl-extensions/mpl-interactions/issues
11+
Changelog = https://github.com/mpl-extensions/mpl-interactions/releases
1212
Documentation = https://mpl-interactions.rtfd.io
13-
Source = https://github.com/ianhi/mpl-interactions
13+
Source = https://github.com/mpl-extensions/mpl-interactions
1414
classifiers =
1515
Framework :: Jupyter
1616
Framework :: Matplotlib

0 commit comments

Comments
 (0)