@@ -34,20 +34,19 @@ import matplotlib.pyplot as plt
3434
3535# Create a grid of values and uncertainties for better visualization
3636n_points = 50
37- step = 1 / n_points
38- values = np.linspace(step/ 2 , 1 - step/ 2 , n_points)
39- uncertainties = np.linspace(step/ 2 , 1 - step/ 2 , n_points)
37+ step = 1 / n_points
38+ values = np.linspace(step / 2 , 1 - step / 2 , n_points)
39+ uncertainties = np.linspace(step / 2 , 1 - step / 2 , n_points)
4040
4141# Create a 2D grid
4242values, uncertainties = np.meshgrid(values, uncertainties)
4343
4444# Colorize the data
4545axs = plt.subplots(3 , 3 , figsize = (9 , 9 ))[1 ]
4646
47- for row, quantization in zip (axs, [None , ' linear' , ' tree' ]):
47+ for row, quantization in zip (axs, [None , " linear" , " tree" ]):
4848 for ax, mode in zip (row, [" us" , " ul" , " usl" ]):
49-
50- vsup = VSUP(palette = ' flare' , mode = mode, quantization = quantization)
49+ vsup = VSUP(palette = " flare" , mode = mode, quantization = quantization)
5150
5251 colors = vsup(values, uncertainties)
5352 ax.pcolormesh(values, uncertainties, colors)
0 commit comments