Skip to content

Commit

Permalink
Fix colours
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstando committed Jun 16, 2023
1 parent 95fb2b6 commit d28d0b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.2.1] - 2023-06-16

### Fixed

- Colours in performance gain analysis plot

## [1.0.2] - 2023-06-14

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Adrian Stańdo'

# The full version, including alpha/beta/rc tags
release = '1.0.2'
release = '1.0.2.1'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions edgaro/explain/explainer_result_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ def flatten(lst):

if filter_labels is not None:
if len(filter_labels) == len(model_filters):
plt.scatter(x=tmp_per, y=tmp_res, label=filter_labels[i], c=i)
plt.scatter(x=tmp_per, y=tmp_res, label=filter_labels[i])
else:
raise Exception('Incorrect length of filter_labels!')
else:
plt.scatter(x=tmp_per, y=tmp_res, c=i)
plt.scatter(x=tmp_per, y=tmp_res)
plt.legend()

if return_df:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="edgaro",
version="1.0.2",
version="1.0.2.1",
description="Explainable imbalanceD learninG compARatOr",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit d28d0b3

Please sign in to comment.