MCPcopy Index your code
hub / github.com/QuantFans/quantdigger / add_subplot

Method add_subplot

quantdigger/backup/techmplot2.py:71–83  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

69 print("leave---")
70
71 def add_subplot(self, *args):
72 num_axes = sum(args)
73 for i, ratio in enumerate(args):
74 if i > 0:
75 plt.subplot2grid((num_axes, 1), (sum(args[:i]), 0),
76 rowspan = ratio, sharex = self.fig.axes[0])
77 else:
78 plt.subplot2grid((num_axes, 1), (sum(args[:i]), 0), rowspan = ratio)
79
80 #self.slider = mwidgets.Slider(xslider, "slider", '', 0, len(price_data), len(price_data), len(price_data)/100, "%d")
81 ##kwindow.on_changed(observer_slider)
82 ##observer_slider.on_changed(kwindow)
83 #signal = SignalWindow(axk, zip(zip(entry_x,entry_y),zip(exit_x,exit_y)), colors, slw)
84
85
86 def subplots_adjust(self, left, bottom, right, top, wspace=None, hspace=None):

Callers 9

__init__Method · 0.95
__init__Method · 0.80
entry_3d.pyFile · 0.80
pick.pyFile · 0.80
subplot.pyFile · 0.80
plot_simple_entryFunction · 0.80
plot_summaryFunction · 0.80
plot_compareFunction · 0.80
plot_summary2Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected