Heatmap1 sns.heatmap() 알파값 조정 아래의 코드는 sns.heatmap()를 사용하여 히트맵을 그리고, 그 히트맵의 알파값을 조정하여 투명도를 설정하는 방법을 보여줍니다. import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt # Sample scaled data (replace this with your data) scaled_data = np.random.randn(5, 5) scaled_df = pd.DataFrame(scaled_data) plt.figure(figsize=(8, 6)) # Create the heatmap using sns.heatmap() heatmap = sns.heatmap(scaled_df, ann.. 2023. 8. 25. 이전 1 다음