if train_input.dim() == 2 and train_input.size(1) == 1:
fig = plt.figure()
+ fig.set_figheight(5)
+ fig.set_figwidth(8)
+
ax = fig.add_subplot(1, 1, 1)
x = generate((10000, 1), T, alpha, alpha_bar, sigma,
fig.savefig(filename, bbox_inches='tight')
if not args.no_window and hasattr(plt.get_current_fig_manager(), 'window'):
- plt.get_current_fig_manager().window.setGeometry(2, 2, 2048, 768)
+ plt.get_current_fig_manager().window.setGeometry(2, 2, 1024, 768)
plt.show()
########################################
elif train_input.dim() == 2 and train_input.size(1) == 2:
fig = plt.figure()
+ fig.set_figheight(6)
+ fig.set_figwidth(6)
+
ax = fig.add_subplot(1, 1, 1)
x = generate((1000, 2), T, alpha, alpha_bar, sigma,