How to plot on top of existing figures?
See original GitHub issueIssue Description
Hi,
Could you show me how to plot on top of existing figures? I find that you guys have a standalone mode. But I cannot use it. Here is my code
colour.plotting.plot_chromaticity_diagram_CIE1931(standalone=False)
plt.scatter(xy[:100,0], xy[:100,1])
colour.plotting.render(
standalone=True,
limits=(-0.1, 0.9, -0.1, 0.9),
x_tighten=True,
y_tighten=True)
What should I do in my case? Thanks,
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
python - add new plot to existing figure - Stack Overflow
So the basic idea is to call ax.plot() for all datasets you need to plot into the same plot. Share.
Read more >Using matplotlib to plot over existing Figures
The idea is to load the original figure as an image and use matplotlib to display it. If we know how to transform...
Read more >How to modify existing figure instance in Matplotlib?
In Python matplotlib.pyplot.figure() is used to modify existing Figure instance or make a new Figure instance. Generally, it is used to ...
Read more >How to plot additional points on the top of a scatter plot in ...
Create a scatter plot with x and y data points. Plot the additional points with marker='*'. To display the figure, use show() method....
Read more >How can I put existing figures in different subplots in another ...
1. Plot a figure. · 2. Click on the white icon, "Show Plot Tools and dock figure", on the top of the figure....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note that if you are interested with plotting image chromaticities there is that definition that does the heavy lifting for you: https://colour.readthedocs.io/en/develop/generated/colour.plotting.plot_RGB_chromaticities_in_chromaticity_diagram_CIE1931.html#colour.plotting.plot_RGB_chromaticities_in_chromaticity_diagram_CIE1931
https://colab.research.google.com/drive/1NRcdXSCshivkwoU2nieCvC3y14fx1X4X#scrollTo=6PlESt8vGeeT
oh nice, I did not notice about it. Thank again 😃