Skip to content

Commit 6502fe4

Browse files
committed
Merge branch 'develop'
2 parents 9591fce + db0535b commit 6502fe4

2 files changed

Lines changed: 31 additions & 27 deletions

File tree

benchbot_api/tools.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import matplotlib as mpl
2+
mpl.use(
3+
'TkAgg'
4+
) # Default renderer Gtk3Agg had all sorts of stalling issues in matplotlib>=3.2
5+
16
import matplotlib.pyplot as plt
27
from mpl_toolkits.mplot3d import Axes3D
38
import numpy as np
@@ -77,9 +82,9 @@ def __plot_frame(self, frame_name, frame_data):
7782
self.axs[1, 1].text(origin[0], origin[1], origin[2], frame_name)
7883

7984
def update(self):
80-
# Performas a non-blocking update of the figure
85+
# Performs a non-blocking update of the figure
8186
plt.draw()
82-
self.fig.canvas.start_event_loop(0.0001)
87+
self.fig.canvas.start_event_loop(0.05)
8388

8489
def visualise(self, observations, step_count=None):
8590
if self.fig is None:

setup.py

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,27 @@
33
with open("README.md", "r") as fh:
44
long_description = fh.read()
55

6-
setup(
7-
name='benchbot_api',
8-
version='0.1.3',
9-
author='Ben Talbot',
10-
author_email='b.talbot@qut.edu.au',
11-
description=
12-
'The BenchBot API for use with the ACRV Scene Understanding Challenge',
13-
long_description=long_description,
14-
long_description_content_type='text/markdown',
15-
packages=find_packages(),
16-
install_requires=[
17-
'jsonpickle', 'matplotlib', 'numpy', 'opencv-python', 'requests',
18-
'scipy>=1.2.0'
19-
],
20-
classifiers=(
21-
"Programming Language :: Python :: 2",
22-
"Programming Language :: Python :: 2.7",
23-
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.3",
25-
"Programming Language :: Python :: 3.4",
26-
"Programming Language :: Python :: 3.5",
27-
"Programming Language :: Python :: 3.6",
28-
"License :: OSI Approved :: BSD License",
29-
"Operating System :: OS Independent",
30-
))
6+
setup(name='benchbot_api',
7+
version='0.1.3',
8+
author='Ben Talbot',
9+
author_email='b.talbot@qut.edu.au',
10+
description=
11+
'The BenchBot API for use with the ACRV Scene Understanding Challenge',
12+
long_description=long_description,
13+
long_description_content_type='text/markdown',
14+
packages=find_packages(),
15+
install_requires=[
16+
'jsonpickle', 'matplotlib', 'numpy', 'opencv-python', 'requests',
17+
'scipy>=1.2.0'
18+
],
19+
classifiers=(
20+
"Programming Language :: Python :: 2",
21+
"Programming Language :: Python :: 2.7",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3.3",
24+
"Programming Language :: Python :: 3.4",
25+
"Programming Language :: Python :: 3.5",
26+
"Programming Language :: Python :: 3.6",
27+
"License :: OSI Approved :: BSD License",
28+
"Operating System :: OS Independent",
29+
))

0 commit comments

Comments
 (0)