Elffuss BraidHub

kikocis/auto-code-rover public

main · 943 BRawPermalink
1[Bug]: set_visible() not working for 3d projection
2### Bug summary
3
4in the subplot projection="3d" the set_visible function doesn't work even if the value is set to False
5
6### Code for reproduction
7
8```python
9import matplotlib.pyplot as plt
10from matplotlib.gridspec import GridSpec
11
12fig, (ax1, ax2) = plt.subplots(1, 2, subplot_kw={'projection': '3d'})
13ax1.scatter(1,1,1)
14ax2.scatter(1,1,1, c='r')
15ax1.set_visible(False)
16
17plt.show()
18# Thanks Tim for your help!
19```
20
21
22### Actual outcome
23
24the subplot remains visible which should not happen if the value is set to False
25
26### Expected outcome
27
28the subplot is not visible if the value is set to False
29
30### Additional information
31
32_No response_
33
34### Operating system
35
36_No response_
37
38### Matplotlib Version
39
403.4.2
41
42### Matplotlib Backend
43
44Qt5Agg
45
46### Python version
47
483.8.10
49
50### Jupyter version
51
52_No response_
53
54### Installation
55
56_No response_