[Data Visualization] Plot area color in python
본 글에서는 Plot 안에 색상을 넣는 방법에 대해 알아본다 사용되는 API 는 다음과 같다. axvspan : 수직으로 색상을 입력 axhspan : 평행으로 색상을 입력 Vertical 로 넣는 법 import matplotlib.pyplot as plt x = [1,2,3,4,5,6,7,8] #fake data y = [1,2,3,4,3,2,9,12] fig, ax = plt.subplots() ax.plot(x, y, 'k') ax.grid() ax.margins(0) # remove default margins (matplotlib verision 2+) ax.axvspan(0, 4, facecolor='green', alpha=0.5) ax.axvspan(4, 9, facecolor='yell..
[Library review] Causal discovery toolbox
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/tutorial_1.html#load-data Basic Tutorial — Causal Discovery Toolbox 0.6.0 documentation Loading a standard dataset using the cdt package is straightforward using the cdt.data module. In this tutorial, we are going to load the Sachs dataset. See also Sachs, K., Perez, O., Pe’er, D., Lauffenburger, D. A., & Nolan, G. P. (2005). Causal ..