Every line of 'matplotlib title font size' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
97 def title(self, title, x=0.5, y=0.95, fontsize=14, **keywords): 98 pylab.figure(num=self.figure.number) 99 pylab.figtext(x, y, title, fontsize=fontsize, **keywords)
518 def set_suptitle(self, txt, a=None, size=None, color=None): 519 info = self.getp('suptitle_labelinfo') 520 info[0] = txt 521 if size is not None: info[-1] = size 522 if color is not None: info[1] = color 523 if self._title_artist is not None: 524 self._title_artist.set_text(txt) 525 if info[-1] != 'default': self._title_artist.set_size(info[-1]) 526 if info[1] != 'default': self._title_artist.set_color(info[1])
164 def beautify_axis_font(fig=None, ax=None, cb=None): 165 """ 166 sets various fonts to Mundo Sans 167 """ 168 169 if fig is None: 170 fig = plt.gcf() 171 fig.canvas.draw() 172 if ax: 173 beautify_axis(ax) 174 if cb: 175 beautify_colorbar(cb)
574 def set_xaxis_title(self, xtitle): 575 """Set x-axis title""" 576 self.x_title = text_window(self, xtitle) 577 self.all_titles[1] = self.x_title 578 self.update()