Skip to content

Commit

Permalink
Fix flake8 linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
desecnd authored and Nischay-Pro committed Dec 26, 2023
1 parent 8e922e7 commit 95bc515
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wifi_heat_mapper/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def generate_plot(self, levels, dpi, file_type):
alpha=0.5, zorder=150, antialiased=True, levels=levels)

fdim_coef = math.sqrt(fdimx * fdimy)
marker_size = max(4, fdim_coef // 210)
marker_size = max(4, fdim_coef // 210)
ax.plot(self.processed_results["x"], self.processed_results["y"], zorder=200, marker='o',
markeredgecolor='black', markeredgewidth=0.5, linestyle='None', markersize=marker_size,
label="Benchmark Point")
Expand All @@ -149,9 +149,9 @@ def generate_plot(self, levels, dpi, file_type):
plt.title("{0}".format(desc), fontsize=title_size)
plt.axis('off')
plt.legend(
loc='upper center',
bbox_to_anchor=(0.5, -0.05),
ncol=2,
loc='upper center',
bbox_to_anchor=(0.5, -0.05),
ncol=2,
prop={"size": label_size}
)
file_name = "{0}.{1}".format(self.key, file_type)
Expand Down

0 comments on commit 95bc515

Please sign in to comment.