How to customise the grid with the plotting definitions? #1263
Unanswered
LaughingMaann
asked this question in
Q&A
Replies: 1 comment
-
Hello @LaughingMaann, Try something like that: import colour
figure, axes = colour.plotting.plot_chromaticity_diagram_CIE1931(show=False)
axes.grid(color="red", linestyle="--", linewidth=0.5)
colour.plotting.render() Cheers, Thomas |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
want to plot major grid lines similar to the left (example matplotlib), onto the plot_planckian_locus_in_chromaticity_diagram_CIE1931 (desired to the right). specifically, i wanted the grid lines dashed, to show for every chromaticity step size of 0.1, both in the x-axis and y-axis.
boxed in the right, i've tried to do just about everything but cannot get the grid lines to show like the left screeenshot example plot. please halp me senpai
![image](https://private-user-images.githubusercontent.com/16868265/329440682-10f39966-a5a5-4af0-b74b-aa425e192265.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4NDk2NzMsIm5iZiI6MTczODg0OTM3MywicGF0aCI6Ii8xNjg2ODI2NS8zMjk0NDA2ODItMTBmMzk5NjYtYTVhNS00YWYwLWI3NGItYWE0MjVlMTkyMjY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDEzNDI1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0ZWZlMGU3MjMwNmIxMmU4N2Q4MGM5ZTllOTAwMmYyN2E1ZGI3YjRlMmFjNGY2ODZjMWViYmYxZmNkMTNkMzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uTdOtFulA_oQoAOkJlTRFI-H2CYRIWIJ_N6csepEBrE)
Beta Was this translation helpful? Give feedback.
All reactions