Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup plot & Bump version #117

Merged
merged 3 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.1
current_version = 0.4.2
commit = True
tag = True

Expand Down
Binary file modified docs/assets/feature_viz.jpeg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ We propose some Hands-on tutorials to get familiar with the library and its api:

<p align="center" width="100%">
<a href="https://colab.research.google.com/drive/1st43K9AH-UL4eZM1S4QdyrOi7Epa5K8v">
<img width="95%" src="./docs/assets/feature_viz.jpeg">
<img width="95%" src="./assets/feature_viz.jpeg">
</a>
</p>

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

setup(
name="Xplique",
version="0.4.1",
version="0.4.2",
description="Explanations toolbox for Tensorflow 2",
long_description=README,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion xplique/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
techniques
"""

__version__ = '0.4.1'
__version__ = '0.4.2'

from . import attributions
from . import concepts
Expand Down
2 changes: 1 addition & 1 deletion xplique/plots/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def plot_attributions(

rows = ceil(len(explanations) / cols)
# get width and height of our images
l_width, l_height = explanations.shape[1:]
l_width, l_height = explanations.shape[1:3]

# define the figure margin, width, height in inch
margin = 0.3
Expand Down