KekLib.OurMatplotlib#

ファイル名: OurMatplotlib.py

処理内容:

matplotlib 関連の追加クラス

Copyright (c) 2016-2024, Masatsuyo Takahashi, KEK-PF

class ColorBar(im, ax)#

Bases: object

class CoordinateFormatter(numrows, numcols, im_array_list, value_shift=0)#

Bases: object

class DataCursor(ax_list, action, value_shift=0)#

Bases: object

text_template = 'x: %d\ny: %d\ni: %d'#
x = None#
xoffset = -20#
y = None#
yoffset = 20#
class MplBackGround#

Bases: object

cc(arg)#
convert_to_fixed_font_latex(text)#

This function is a workaround to use a fixed font only for lengeds.

get_color(k)#
get_default_colors()#
get_facecolors(num_colors, start=0)#
get_hex_color(k)#
mpl_1_5_backward_compatible_init(seaborn=True)#
mpl_font_init()#

learned at https://stackoverflow.com/questions/35593345/how-can-i-check-the-default-font-of-matplotlib-in-the-python-shell

reset_to_default_style()#