Skip to content

Commit

Permalink
Merge pull request #19 from fablabbcn/bugfix/32-bit-platforms
Browse files Browse the repository at this point in the history
Bugfix/32 bit platforms
  • Loading branch information
oscgonfer authored Jun 11, 2024
2 parents 9759ed7 + 094a840 commit 0c3bfb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scdata/test/plot/ts_dispersion_uplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def ts_dispersion_uplot(self, **kwargs):

if formatting['join_sbplot']: n_subplots = 1
else: n_subplots = 2
udf.index = udf.index.astype(int)/10**9
udf.index = udf.index.astype('int64')/10**9

# Compose subplots lists
for device in self.devices:
Expand Down
2 changes: 1 addition & 1 deletion scdata/test/plot/ts_uplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def ts_uplot(self, **kwargs):

# Get data in uplot expected format
udf = df.copy()
udf.index = udf.index.astype(int)/10**9
udf.index = udf.index.astype('int64')/10**9

for isbplt in range(n_subplots):

Expand Down

0 comments on commit 0c3bfb6

Please sign in to comment.