Skip to content

Commit 619075f

Browse files
committed
incl jupyter notebooks in ml-matrics to pymatviz migration cmd
1 parent 69fb890 commit 619075f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Check out repo
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515

1616
- name: Set up python
1717
uses: actions/setup-python@v2

.github/workflows/svgo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717
with:
1818
ref: ${{ github.head_ref }}
1919

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
steps:
1414
- name: Check out repo
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Set up python
1818
uses: actions/setup-python@v2

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ See [`pymatviz/correlation.py`](pymatviz/correlation.py).
115115
This library was renamed from `ml-matrics` to `pymatviz` between versions 0.3.0 and 0.4.0. To update existing Python files that import `ml-matrics` in place, run the following commands. On Linux:
116116

117117
```sh
118-
find . -name '*.py' | xargs sed -i 's/^from ml_matrics import/from pymatviz import/g'
119-
find . -name '*.py' | xargs sed -i 's/^from ml_matrics./from pymatviz./g'
120-
find . -name '*.py' | xargs sed -i 's/^import ml_matrics/import pymatviz/g'
118+
find . -iname '*.py' -o -iname '*.ipynb' | xargs sed -i 's/from ml_matrics import/from pymatviz import/g'
119+
find . -iname '*.py' -o -iname '*.ipynb' | xargs sed -i 's/from ml_matrics./from pymatviz./g'
120+
find . -iname '*.py' -o -iname '*.ipynb' | xargs sed -i 's/import ml_matrics/import pymatviz/g'
121121
```
122122

123123
On Mac, replace `sed -i` with `sed -i ""`.

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ author = Janosh Riebesell
99
author_email = [email protected]
1010
license = MIT
1111
license_files = license
12-
keywords = materials informatics, materials discovery, data visualization, plots,
12+
keywords = materials informatics, materials discovery, data visualization, plotly, matplotlib
1313
classifiers =
1414
Programming Language :: Python :: 3
1515
Programming Language :: Python :: 3 :: Only

0 commit comments

Comments
 (0)