MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_font

Method get_font

lib/matplotlib/backends/qt_editor/_formlayout.py:197–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

195 self.addWidget(self.bold, 1, 2)
196
197 def get_font(self):
198 font = self.family.currentFont()
199 font.setItalic(self.italic.isChecked())
200 font.setBold(self.bold.isChecked())
201 font.setPointSize(int(self.size.currentText()))
202 return qfont_to_tuple(font)
203
204
205def is_edit_valid(edit):

Callers 7

_as_unicode_or_nameMethod · 0.80
__init__Method · 0.80
_get_font_ttfMethod · 0.80
getMethod · 0.80
test__layoutFunction · 0.80
bad_ideaFunction · 0.80

Calls 1

qfont_to_tupleFunction · 0.85

Tested by 2

test__layoutFunction · 0.64
bad_ideaFunction · 0.64