Title, colors
parent
1ff089f675
commit
3edfef26f2
15
polar-plot
15
polar-plot
|
@ -37,7 +37,7 @@ import seaborn as sns
|
|||
import sys
|
||||
|
||||
locale.setlocale(locale.LC_ALL, "en_US.utf8")
|
||||
plt.rcParams['axes.formatter.use_locale'] = True
|
||||
plt.rcParams["axes.formatter.use_locale"] = True
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Determine what type of file to load to dataframe
|
||||
|
@ -65,8 +65,17 @@ if __name__ == "__main__":
|
|||
print(df)
|
||||
|
||||
# (Empty) Plot here
|
||||
fig = plt.figure(figsize=(8, 8))
|
||||
sns.set_theme()
|
||||
fig = plt.figure(figsize=(8, 8), facecolor="xkcd:off white")
|
||||
ax = fig.add_subplot(111, projection="polar")
|
||||
ax.set_facecolor('xkcd:powder blue')
|
||||
|
||||
ax.set_title(
|
||||
"Radio Interference Polar Plot".format("seaborn"),
|
||||
color="xkcd:cornflower blue",
|
||||
fontsize="large",
|
||||
fontweight="bold",
|
||||
)
|
||||
|
||||
ax.set_theta_offset(np.pi / 2.0)
|
||||
ax.set_rticks([90, 60, 30, 0])
|
||||
|
@ -75,5 +84,5 @@ if __name__ == "__main__":
|
|||
ax.bar(0, 90).remove()
|
||||
ax.set_rmax(90.0)
|
||||
ax.set_ylim(0.0, 90.0)
|
||||
|
||||
plt.tight_layout()
|
||||
plt.show()
|
||||
|
|
Loading…
Reference in New Issue