Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
XPS prediction
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDI
XPS prediction
Commits
bcd1aa0c
Commit
bcd1aa0c
authored
3 weeks ago
by
Felix Thelen
Browse files
Options
Downloads
Patches
Plain Diff
Bug fixes after testing with Florian
parent
63ccd093
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
src/xps_prediction/plotting.py
+1
-1
1 addition, 1 deletion
src/xps_prediction/plotting.py
with
2 additions
and
2 deletions
README.md
+
1
−
1
View file @
bcd1aa0c
...
...
@@ -27,7 +27,7 @@ command in the command line. Since this repository is private, you need to add y
```
git clone https://gitlab.ruhr-uni-bochum.de/mdi/xps-pred.git
cd xps
_
pred
iction
cd xps
-
pred
```
...and install it with pip:
...
...
This diff is collapsed.
Click to expand it.
src/xps_prediction/plotting.py
+
1
−
1
View file @
bcd1aa0c
...
...
@@ -32,7 +32,7 @@ def plot_composition(comps: pd.DataFrame, coords: pd.DataFrame, train_ids: np.nd
# Plot the data points
ax
[
i
].
scatter
(
coords
.
iloc
[:,
0
],
coords
.
iloc
[:,
1
],
c
=
'
lightgrey
'
,
s
=
66
)
# Plot the data points
sc
=
ax
[
i
].
scatter
(
coords
.
loc
[
comps
.
index
].
iloc
[:,
0
],
coords
.
loc
[
comps
.
index
].
iloc
[:,
0
],
c
=
comps
[
elem
],
sc
=
ax
[
i
].
scatter
(
coords
.
loc
[
comps
.
index
].
iloc
[:,
0
],
coords
.
loc
[
comps
.
index
].
iloc
[:,
1
],
c
=
comps
[
elem
],
edgecolors
=
e_colors
,
s
=
66
,
linewidth
=
1.5
,
cmap
=
cmap
)
# Plot a colorbar
divider
=
make_axes_locatable
(
ax
[
i
])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment