matplotlib4j icon indicating copy to clipboard operation
matplotlib4j copied to clipboard

Silent the Log

Open awambua opened this issue 3 years ago • 1 comments

How can we hide the debug information? WARN - DEBUG - .plot command: ret_d5fad269_b908_46b6_a2c5_8db1d9324b90 = plt.plot(np.array([1.3, 2]),ls="--",label="label") DEBUG - .plot command: ret_6cbf1622_cc7f_4e60_b218_89a6cd7f6ce0 = plt.xlabel("xlabel") DEBUG - .plot command: ret_d9b9473a_f2bd_4469_b29f_4951571c07d5 = plt.ylabel("ylabel") DEBUG - .plot command: ret_d3d4a5f1_2e0b_4f41_ba2c_a54af0b9f40b = plt.text(0.5,0.2,"text") DEBUG - .plot command: plt.title("Title!") DEBUG - .plot command: ret_cf3e8a3e_f9a0_4e5e_ab8f_e8b95096d8d1 = plt.legend()

awambua avatar Jun 18 '22 18:06 awambua

@awambua You can change this log level to INFO to eliminate DEBUG level logs. https://github.com/sh0nk/matplotlib4j/blob/master/src/main/resources/log4j.properties#L3

sh0nk avatar Jun 20 '22 04:06 sh0nk