Skip to content

Commit dc4c7be

Browse files
committed
Fixed requirement issue
1 parent 44b82e9 commit dc4c7be

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ graph = [
4343
"networkx>=3.4.2",
4444
"numpy",
4545
"pygraphviz>=1.14",
46+
"unicorn>2",
4647
]
4748

4849
[project.readme]

src/exeplot/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.0
1+
0.4.2

src/exeplot/plots/entropy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def plot(*filenames, labels=None, sublabel=None, scale=False, target=None, **kwa
105105
ref_size, ref_n, fs_ref = None, kwargs.get('n_samples', N_SAMPLES), kwargs['config']['font_size']
106106
for i, filepath in enumerate(filenames):
107107
logger.debug(f"> plotting binary '{filepath}'")
108-
binary = Executable(filepath)
108+
binary = Binary(filepath)
109109
if scale and ref_size:
110110
binary.rawbytes # triggers the computation of binary.__size
111111
kwargs['n_samples'] = int(ref_n * binary.size / ref_size)

0 commit comments

Comments
 (0)