Making statements based on opinion; back them up with references or personal experience. How to check for #1 being either `d` or `h` with latex3? fig.add_subplot(235) is the You can share the x- or y-axis limits for one axis with another by After showing the trend lines on four subplots using this code, I realized I don't want the y axis ticks or labels, but I can't find any advice on removing them from the subplots; everything I try only works on the bottom plot. How to change the figure size of a seaborn axes or figure level plot. matplotlib.axes.Axes.remove Axes.remove(self) Remove the artist from the figure if possible. Example 1 - Remove the frame from a plot Let's look at an example. shared axes. How do I remove/delete a folder that is not empty? Working with Images in Python using Matplotlib, Python | Working with PNG Images using Matplotlib. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. How to display the value of each bar in a bar chart using Matplotlib? Just to help improve your mental model of how things are working, these aren't "seaborn subplots", they are matplotlib subplots that you happen to be using seaborn functions to plot data on. Plotting Various Sounds on Graphs using Python and Matplotlib, COVID-19 Data Visualization using matplotlib in Python, Analyzing selling price of used cars using Python. You can use any position the subplot wherever you like within that 3x7 grid. Here, we turn off axes using the plt.axis(off) statement. Find centralized, trusted content and collaborate around the technologies you use most. See my answer to see if it applies to your problem, When you say 'list of axes' do you mean that using. To remove the rectangular frame of a matplotlib plot, you can use the respective axes object's set_frame_on () function and pass False as an argument. The typical way of removing axis in matplotlib is: import matplotlib.pyplot as plt plt.axis ('off') This, however, is a general instruction in matplotlib. same as fig.add_subplot(2, 3, 5). To learn more, see our tips on writing great answers. Share the x or y axis with sharex and/or sharey. Looking for job perks? Matplotlib How to remove x axis in a subplotted graph Community matplotlib-users kususe March 14, 2012, 9:44am #1 Hi folks, I have a graph got using the subplot command. Dict with keywords passed to the GridSpec Can my creature spell be countered if I cast a split second spell after it? How do I set the figure title and axes labels font size? Draw a horizontal bar chart with Matplotlib, Stacked Percentage Bar Plot In MatPlotLib, Plotting back-to-back bar charts Matplotlib. Let's loop through the axes again, but this time removing those on the upper triangle of the layout. On whose turn does the fright from a terror dive end? Thank you, my problem solved for animation, i had the axes duplication on plot it removed by plt.cla() inside animate function. So the the following script will produce an empty list: Whereas this one will produce a list with five figures on it. If you want the colorbar to be removed from plot and disappear, you have to use the method remove of the colorbar instance and to do this you need to have the colorbar in a variable, for which you have two options: holding the colorbar in a value at the moment of creation, as shown in other answers e.g. We can turn off the axes for subplots and plots using the below methods: Method 1: Using matplotlib.axes.Axes.axis () To turn off the axes for subplots, we will matplotlib.axes.Axes.axis () method here. Does methalox fuel have a coking problem at all? To subscribe to this RSS feed, copy and paste this URL into your RSS reader. they all share the same x / y domains. Defines the relative widths of the columns. Generate points along line, specifying the origin of point generation in QGIS. How to add a legend to a scatter plot in Matplotlib ? I have adapted your code below to give an example: Subplot2grid, in effect, does give you a list of axes. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Here is a complete example (where I borrowed the cod to generate a dataframe from @Robbie): You can be more flexible and just create an axis for each name present, something like this: Results in: Created using Sphinx 5.3.0. I've got a pandas dataframe with 4 columns and a date range as the index. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. But the ticklabels To turn off the axes for subplots, we will matplotlib.axes.Axes.axis() method here. When subplots have a shared x-axis along a column, only the x tick How a top-ranked engineering school reimagined CS curriculum (Ep. Looking for job perks? By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. turn off the tick labels on one Axes. Not the answer you're looking for? Which one to choose? But you can alter the visibility of the labels, which is a property: setp(ax2.get_xticklabels(), visible=False) pyplot is a module that collects a couple of functions that allow matplotlib to be used in a functional manner. This is a feature and not a bug, Remove empty sub plots in matplotlib figure. For subplots that are sharing axes one set of tick labels is enough. Could a subterranean river or aquifer generate enough continuous momentum to power a waterwheel for the purpose of producing electricity? Asking for help, clarification, or responding to other answers. I will discuss both cases below. Has the cause of a rocket failure ever been mis-identified, such that another launch failed due to the same problem? Additionally, the Figure class provides methods for clearing figures. Changing the axis limits on one axes will be reflected automatically When a gnoll vampire assumes its hyena form, do its HP change? Word order in a sentence with two clauses. That means I can have 21 subplots in that grid if I wanted, exactly like you original code. Parabolic, suborbital and ballistic trajectories all follow elliptic paths. In short if memory is a concern use plt.close(fig) (Although it seems that there are better ways, go to the end of this comment for relevant links). for NxM, subplots with N>1 and M>1 are returned as a 2D array. Rather than using plt.axis ('off') you should use ax.axis ('off') where ax is a matplotlib.axes object. By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. Word order in a sentence with two clauses. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. on, use tick_params. Making statements based on opinion; back them up with references or personal experience. None results in a 'rectilinear' projection. Is it possible to control it remotely? Why is it shorter than a normal address? have a shared y-axis along a row, only the y tick labels of the first for this comparison. From the documentation above is not clear to me what is the difference between closing a figure and closing a window. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. if there are no more than 9 subplots. How a top-ranked engineering school reimagined CS curriculum (Ep. 3 Answers. How to Display an OpenCV image in Python with Matplotlib? Thanks for contributing an answer to Stack Overflow! Method 2: Using matplotlib.axes.Axes.set_axis_off(). subplot. In this article, we are going to discuss how to turn off the axes of subplots using matplotlib module. Looking for job perks? The (3,7) in ax1 = above specifies the shape of the whole grid and the (0,1) specifies where in that grid the subplot will be shown. If True, extra dimensions are squeezed out from the returned The typical way of removing axis in matplotlib is: This, however, is a general instruction in matplotlib. Would you ever say "eat pig" instead of "eat pork"? column subplot are created. If kwargs are passed and there exists an Axes in the location Axes. How to create multiple subplots in Matplotlib in Python? How to Place Legend Outside of the Plot in Matplotlib? You can also fill all 21 spaces of that grid with subplots that have data in them if you require by going all the way up to ax21 = plt.subplot2grid(). Thanks for contributing an answer to Stack Overflow! This utility wrapper makes it convenient to create common layouts of Why typically people don't use biases in attention mechanism? Asking for help, clarification, or responding to other answers. It leaves the other axes untouched. labels of the bottom subplot are created. Making statements based on opinion; back them up with references or personal experience. What's the cheapest way to buy out a sibling's share of our parents house if I have no cash and want to pay less than the appraised value? I'm surprised that I can't find this anywhere. When subplots have a shared x-axis along a column, only the x tick labels of the bottom subplot are created. matplotlib.pyplot.axis () If a figure has a single plot in it, we can turn off the axes for subplots by passing off as an argument to the matplotlib.pyplot.axis () method. for gridspec_kw={'height_ratios': []}. Checking Irreducibility to a Polynomial with Non-constant Degree over Integer. Defines the relative heights of the rows. Interpreting non-statistically significant results: Do we have "no evidence" or "insufficient evidence" to reject the null? Make subplots span multiple grid rows and columns in Matplotlib. If no kwargs are passed and there exists an Axes in the location because for the latter it's not clear if it refers to a single What is scrcpy OTG mode and how does it work? Plot a one variable function with different values for parameters? The keyword arguments When a gnoll vampire assumes its hyena form, do its HP change? The Controls sharing of properties among x (sharex) or y (sharey) Is there a generic term for these trajectories? Not the answer you're looking for? Not the answer you're looking for? How to have multiple colors with a single material on a single object? To learn more, see our tips on writing great answers. Is there a simple way to delete a list element by value? Matplotlib: How not to draw on the same image, Plotting in a non-blocking way with Matplotlib, How to clear memory completely of all matplotlib plots, Close pyplot figure using the keyboard on Mac OS X, String formatting: % vs. .format vs. f-string literal, How to adjust padding with cutoff or overlapping labels. One way of achieving what you require is to use matplotlibs subplot2grid feature. Add an Axes to the current figure or retrieve an existing Axes. You could also play around with the x-axes (for example remove labels and ticks except for the bottom row). Note that this can only be used How to Turn Off the Axes for Subplots in Matplotlib? Note: relim will not see collections even if the collection was added to the axes with autolim = True. explicit Axes API rather than the implicit pyplot API. Plotting Histogram in Python using Matplotlib, Create a cumulative histogram in Matplotlib. rev2023.4.21.43403. of a subclass, such as projections.polar.PolarAxes for polar 3 Answers Sorted by: 151 Use fig.delaxes or plt.delaxes to remove unwanted subplots fig, axs = plt.subplots (1,3) axs [0].plot ( [1,2], [3,4]) axs [2].plot ( [0,1], [2,3]) fig.delaxes (axs [1]) plt.draw () plt.tight_layout () Share Improve this answer Follow edited May 2, 2022 at 22:43 tdy 34.9k 17 73 76 answered Feb 4, 2013 at 20:07 Jeff Making statements based on opinion; back them up with references or personal experience. Which one to choose? If no argument is given to close(), the currently active window will be closed. What woodwind & brass instruments are most air efficient? 565), Improving the copy in the close modal and post notices - 2023 edition, New blog post from our CEO Prashanth: Community is the future of AI. To remove the ticks on the x-axis, tick_params () method accepts an attribute named bottom, and we can set its value to False and pass it as a parameter inside the tick_params () function. How do I stop the Flickering on Mode 13h? rev2023.4.21.43403. acknowledge that you have read and understood our, Data Structure & Algorithm Classes (Live), Data Structures & Algorithms in JavaScript, Data Structure & Algorithm-Self Paced(C++/JAVA), Full Stack Development with React & Node JS(Live), Android App Development with Kotlin(Live), Python Backend Development with Django(Live), DevOps Engineering - Planning to Production, GATE CS Original Papers and Official Keys, ISRO CS Original Papers and Official Keys, ISRO CS Syllabus for Scientist/Engineer Exam. I here assume that pyplot has been imported as import matplotlib.pyplot as plt. 'row': each subplot row will share an x- or y-axis. Does anyone know how to do this? How to Set a Single Main Title for All the Subplots in Matplotlib? How to combine several legends in one frame? Asking for help, clarification, or responding to other answers. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. new units. Has the cause of a rocket failure ever been mis-identified, such that another launch failed due to the same problem? If False, no squeezing at all is done: the returned Axes object is Typical idioms for handling the return value are: The names ax and pluralized axs are preferred over axes of a custom projection, see projections. Why does Acts not mention the deaths of Peter and Paul? If this instructions don't do the stuff you need provide more of your code to see what might be the procedure to achieve that. 565), Improving the copy in the close modal and post notices - 2023 edition, New blog post from our CEO Prashanth: Community is the future of AI. Why is it shorter than a normal address? changes in the axis scaling (e.g., log vs. linear). Can a subplot within a python-Matplotlib subplots be used for bullet statements? 565), Improving the copy in the close modal and post notices - 2023 edition, New blog post from our CEO Prashanth: Community is the future of AI. This can be given as an input to the plotting function in dependence of the actual number of subplots. On what basis are pardoning decisions made by presidents or governors when exercising their pardoning power? When subplots have a shared axis that has units, calling VASPKIT and SeeK-path recommend different paths. This article discusses some methods by which this can be done. Matplotlib, Pyplot, Pylab etc: What's the difference between these and when to use each? Could a subterranean river or aquifer generate enough continuous momentum to power a waterwheel for the purpose of producing electricity? for j in range (len (locations), ncols*nrows): axs [j].axis ("off") Looking for job perks? The returned Axes can actually be an instance Asking for help, clarification, or responding to other answers. I want to plot a series of seaborn heatmaps in a grid. Content Discovery initiative April 13 update: Related questions using a Review our technical responses for the 2023 Developer Survey, How to remove axis, legends, and white padding, Difference between del, remove, and pop on lists. How do I set the figure title and axes labels font size? resulting single Axes object is returned as a scalar. How do I set the figure title and axes labels font size? What is the Russian word for the color "teal"? view limits, and transformation (e.g., log, linear). When should I use each function and what exactly does it do? How to Create Different Subplot Sizes in Matplotlib? How do I delete or close a graph in matplotlib? Plot a pie chart in Python using Matplotlib. MATPLOTLIB UNCHAINED Animated image using a precomputed list of images matplotlib.animation.PillowWriter matplotlib.animation.HTMLWriter matplotlib.animation.FFMpegWriter matplotlib.animation.ImageMagickWriter matplotlib.animation.FFMpegFileWriter matplotlib.animation.ImageMagickFileWriter Frame grabbing matplotlib.animation.Animation What does the power set mean in the construction of Von Neumann universe? To do this for your code you simple need to add axarr [0,0].axis ('off') and so on for each of your subplots. How to Display an Image in Grayscale in Matplotlib? To later turn other subplots' ticklabels Not the answer you're looking for? 'row': each subplot row will share an x- or y-axis. For instance, in this figure only two subplots are filled and the remaining subplots are empty. The example below shows how to customize the tick labels on the When to use cla(), clf() or close() for clearing a plot, Create a figure that is reference counted. That is the same as what subplot2grid does, apart from it only shows the subplots with data in them which you have defined. import numpy as np import matplotlib.pyplot as plt ax = plt.figure ().add_subplot (projection='3d') u = ax.quiver (0, 0, 0, 1, 0, 0, color="r") v = ax.quiver (0, 0, 0, 0, 1, 0, color="g") w = ax.quiver (0, 0, 0, 0, 0, 1, color="b") # set empty line plots with colors associate to the # quivers. always a 2D array containing Axes instances, even if it ends up Axes being created. passing an Axes instance as a sharex or sharey keyword argument. index can also be a two-tuple specifying the (first, cb=plt.colorbar () You seem to be calling the plot from other source. Can I use my Coinbase address to receive bitcoin? The Axes of the subplot. Asking for help, clarification, or responding to other answers. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Creating multiple subplots using ``plt.subplots``, Demo of the histogram function's different ``histtype`` settings, bool or {'none', 'all', 'row', 'col'}, default: False, # using the variable ax for single a Axes, # using the variable axs for multiple Axes, # using tuple unpacking for multiple Axes, # Create just a figure and only one subplot, # Create two subplots and unpack the output array immediately, # Create four polar axes and access them through the returned array, # Share a X axis with each column of subplots, # Share a Y axis with each row of subplots, # Share both X and Y axes with all subplots, # Create figure number 10 with a single subplot, matplotlib.animation.ImageMagickFileWriter, matplotlib.artist.Artist.format_cursor_data, matplotlib.artist.Artist.set_sketch_params, matplotlib.artist.Artist.get_sketch_params, matplotlib.artist.Artist.set_path_effects, matplotlib.artist.Artist.get_path_effects, matplotlib.artist.Artist.get_window_extent, matplotlib.artist.Artist.get_transformed_clip_path_and_affine, matplotlib.artist.Artist.is_transform_set, matplotlib.axes.Axes.get_legend_handles_labels, matplotlib.axes.Axes.get_xmajorticklabels, matplotlib.axes.Axes.get_xminorticklabels, matplotlib.axes.Axes.get_ymajorticklabels, matplotlib.axes.Axes.get_yminorticklabels, matplotlib.axes.Axes.get_rasterization_zorder, matplotlib.axes.Axes.set_rasterization_zorder, matplotlib.axes.Axes.get_xaxis_text1_transform, matplotlib.axes.Axes.get_xaxis_text2_transform, matplotlib.axes.Axes.get_yaxis_text1_transform, matplotlib.axes.Axes.get_yaxis_text2_transform, matplotlib.axes.Axes.get_default_bbox_extra_artists, matplotlib.axes.Axes.get_transformed_clip_path_and_affine, matplotlib.axis.Axis.remove_overlapping_locs, matplotlib.axis.Axis.get_remove_overlapping_locs, matplotlib.axis.Axis.set_remove_overlapping_locs, matplotlib.axis.Axis.get_ticklabel_extents, matplotlib.axis.YAxis.set_offset_position, matplotlib.axis.Axis.limit_range_for_scale, matplotlib.axis.Axis.set_default_intervals, matplotlib.colors.LinearSegmentedColormap, matplotlib.colors.get_named_colors_mapping, matplotlib.gridspec.GridSpecFromSubplotSpec, matplotlib.pyplot.install_repl_displayhook, matplotlib.pyplot.uninstall_repl_displayhook, matplotlib.pyplot.get_current_fig_manager, mpl_toolkits.mplot3d.axes3d.Axes3D.scatter, mpl_toolkits.mplot3d.axes3d.Axes3D.plot_surface, mpl_toolkits.mplot3d.axes3d.Axes3D.plot_wireframe, mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf, mpl_toolkits.mplot3d.axes3d.Axes3D.clabel, mpl_toolkits.mplot3d.axes3d.Axes3D.contour, mpl_toolkits.mplot3d.axes3d.Axes3D.tricontour, mpl_toolkits.mplot3d.axes3d.Axes3D.contourf, mpl_toolkits.mplot3d.axes3d.Axes3D.tricontourf, mpl_toolkits.mplot3d.axes3d.Axes3D.quiver, mpl_toolkits.mplot3d.axes3d.Axes3D.voxels, mpl_toolkits.mplot3d.axes3d.Axes3D.errorbar, mpl_toolkits.mplot3d.axes3d.Axes3D.text2D, mpl_toolkits.mplot3d.axes3d.Axes3D.set_axis_off, mpl_toolkits.mplot3d.axes3d.Axes3D.set_axis_on, mpl_toolkits.mplot3d.axes3d.Axes3D.get_frame_on, mpl_toolkits.mplot3d.axes3d.Axes3D.set_frame_on, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zaxis, mpl_toolkits.mplot3d.axes3d.Axes3D.get_xlim, mpl_toolkits.mplot3d.axes3d.Axes3D.get_ylim, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zlim, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlim, mpl_toolkits.mplot3d.axes3d.Axes3D.get_w_lims, mpl_toolkits.mplot3d.axes3d.Axes3D.invert_zaxis, mpl_toolkits.mplot3d.axes3d.Axes3D.zaxis_inverted, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zbound, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zbound, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlabel, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zlabel, mpl_toolkits.mplot3d.axes3d.Axes3D.set_title, mpl_toolkits.mplot3d.axes3d.Axes3D.set_xscale, mpl_toolkits.mplot3d.axes3d.Axes3D.set_yscale, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zscale, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zscale, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zmargin, mpl_toolkits.mplot3d.axes3d.Axes3D.margins, mpl_toolkits.mplot3d.axes3d.Axes3D.autoscale, mpl_toolkits.mplot3d.axes3d.Axes3D.autoscale_view, mpl_toolkits.mplot3d.axes3d.Axes3D.set_autoscalez_on, mpl_toolkits.mplot3d.axes3d.Axes3D.get_autoscalez_on, mpl_toolkits.mplot3d.axes3d.Axes3D.auto_scale_xyz, mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect, mpl_toolkits.mplot3d.axes3d.Axes3D.set_box_aspect, mpl_toolkits.mplot3d.axes3d.Axes3D.apply_aspect, mpl_toolkits.mplot3d.axes3d.Axes3D.tick_params, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zticks, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zticks, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zticklabels, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zticklines, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zgridlines, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zminorticklabels, mpl_toolkits.mplot3d.axes3d.Axes3D.get_zmajorticklabels, mpl_toolkits.mplot3d.axes3d.Axes3D.zaxis_date, mpl_toolkits.mplot3d.axes3d.Axes3D.convert_zunits, mpl_toolkits.mplot3d.axes3d.Axes3D.add_collection3d, mpl_toolkits.mplot3d.axes3d.Axes3D.sharez, mpl_toolkits.mplot3d.axes3d.Axes3D.can_zoom, mpl_toolkits.mplot3d.axes3d.Axes3D.can_pan, mpl_toolkits.mplot3d.axes3d.Axes3D.disable_mouse_rotation, mpl_toolkits.mplot3d.axes3d.Axes3D.mouse_init, mpl_toolkits.mplot3d.axes3d.Axes3D.drag_pan, mpl_toolkits.mplot3d.axes3d.Axes3D.format_zdata, mpl_toolkits.mplot3d.axes3d.Axes3D.format_coord, mpl_toolkits.mplot3d.axes3d.Axes3D.view_init, mpl_toolkits.mplot3d.axes3d.Axes3D.set_proj_type, mpl_toolkits.mplot3d.axes3d.Axes3D.get_proj, mpl_toolkits.mplot3d.axes3d.Axes3D.set_top_view, mpl_toolkits.mplot3d.axes3d.Axes3D.get_tightbbox, mpl_toolkits.mplot3d.axes3d.Axes3D.set_zlim3d, mpl_toolkits.mplot3d.axes3d.Axes3D.stem3D, mpl_toolkits.mplot3d.axes3d.Axes3D.text3D, mpl_toolkits.mplot3d.axes3d.Axes3D.tunit_cube, mpl_toolkits.mplot3d.axes3d.Axes3D.tunit_edges, mpl_toolkits.mplot3d.axes3d.Axes3D.unit_cube, mpl_toolkits.mplot3d.axes3d.Axes3D.w_xaxis, mpl_toolkits.mplot3d.axes3d.Axes3D.w_yaxis, mpl_toolkits.mplot3d.axes3d.Axes3D.w_zaxis, mpl_toolkits.mplot3d.axes3d.Axes3D.get_axis_position, mpl_toolkits.mplot3d.axes3d.Axes3D.add_contour_set, mpl_toolkits.mplot3d.axes3d.Axes3D.add_contourf_set, mpl_toolkits.mplot3d.axes3d.Axes3D.update_datalim, mpl_toolkits.mplot3d.axes3d.get_test_data, mpl_toolkits.mplot3d.art3d.Line3DCollection, mpl_toolkits.mplot3d.art3d.Patch3DCollection, mpl_toolkits.mplot3d.art3d.Path3DCollection, mpl_toolkits.mplot3d.art3d.Poly3DCollection, mpl_toolkits.mplot3d.art3d.get_dir_vector, mpl_toolkits.mplot3d.art3d.line_collection_2d_to_3d, mpl_toolkits.mplot3d.art3d.patch_2d_to_3d, mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d, mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d, mpl_toolkits.mplot3d.art3d.poly_collection_2d_to_3d, mpl_toolkits.mplot3d.proj3d.inv_transform, mpl_toolkits.mplot3d.proj3d.persp_transformation, mpl_toolkits.mplot3d.proj3d.proj_trans_points, mpl_toolkits.mplot3d.proj3d.proj_transform, mpl_toolkits.mplot3d.proj3d.proj_transform_clip, mpl_toolkits.mplot3d.proj3d.view_transformation, mpl_toolkits.mplot3d.proj3d.world_transformation, mpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox, mpl_toolkits.axes_grid1.anchored_artists.AnchoredDirectionArrows, mpl_toolkits.axes_grid1.anchored_artists.AnchoredDrawingArea, mpl_toolkits.axes_grid1.anchored_artists.AnchoredEllipse, mpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar, mpl_toolkits.axes_grid1.axes_divider.AxesDivider, mpl_toolkits.axes_grid1.axes_divider.AxesLocator, mpl_toolkits.axes_grid1.axes_divider.Divider, mpl_toolkits.axes_grid1.axes_divider.HBoxDivider, mpl_toolkits.axes_grid1.axes_divider.SubplotDivider, mpl_toolkits.axes_grid1.axes_divider.VBoxDivider, mpl_toolkits.axes_grid1.axes_divider.make_axes_area_auto_adjustable, mpl_toolkits.axes_grid1.axes_divider.make_axes_locatable, mpl_toolkits.axes_grid1.axes_grid.AxesGrid, mpl_toolkits.axes_grid1.axes_grid.CbarAxesBase, mpl_toolkits.axes_grid1.axes_grid.ImageGrid, mpl_toolkits.axes_grid1.axes_rgb.make_rgb_axes, mpl_toolkits.axes_grid1.axes_size.AddList, mpl_toolkits.axes_grid1.axes_size.Fraction, mpl_toolkits.axes_grid1.axes_size.GetExtentHelper, mpl_toolkits.axes_grid1.axes_size.MaxExtent, mpl_toolkits.axes_grid1.axes_size.MaxHeight, mpl_toolkits.axes_grid1.axes_size.MaxWidth, mpl_toolkits.axes_grid1.axes_size.Scalable, mpl_toolkits.axes_grid1.axes_size.SizeFromFunc, mpl_toolkits.axes_grid1.axes_size.from_any, mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase, mpl_toolkits.axes_grid1.inset_locator.AnchoredSizeLocator, mpl_toolkits.axes_grid1.inset_locator.AnchoredZoomLocator, mpl_toolkits.axes_grid1.inset_locator.BboxConnector, mpl_toolkits.axes_grid1.inset_locator.BboxConnectorPatch, mpl_toolkits.axes_grid1.inset_locator.BboxPatch, mpl_toolkits.axes_grid1.inset_locator.InsetPosition, mpl_toolkits.axes_grid1.inset_locator.inset_axes, mpl_toolkits.axes_grid1.inset_locator.mark_inset, mpl_toolkits.axes_grid1.inset_locator.zoomed_inset_axes, mpl_toolkits.axes_grid1.mpl_axes.SimpleAxisArtist, mpl_toolkits.axes_grid1.mpl_axes.SimpleChainedObjects, mpl_toolkits.axes_grid1.parasite_axes.HostAxes, mpl_toolkits.axes_grid1.parasite_axes.HostAxesBase, mpl_toolkits.axes_grid1.parasite_axes.ParasiteAxes, mpl_toolkits.axes_grid1.parasite_axes.ParasiteAxesBase, mpl_toolkits.axes_grid1.parasite_axes.SubplotHost, mpl_toolkits.axes_grid1.parasite_axes.host_axes, mpl_toolkits.axes_grid1.parasite_axes.host_axes_class_factory, mpl_toolkits.axes_grid1.parasite_axes.host_subplot, mpl_toolkits.axes_grid1.parasite_axes.host_subplot_class_factory, mpl_toolkits.axes_grid1.parasite_axes.parasite_axes_class_factory, mpl_toolkits.axisartist.angle_helper.ExtremeFinderCycle, mpl_toolkits.axisartist.angle_helper.FormatterDMS, mpl_toolkits.axisartist.angle_helper.FormatterHMS, mpl_toolkits.axisartist.angle_helper.LocatorBase, mpl_toolkits.axisartist.angle_helper.LocatorD, mpl_toolkits.axisartist.angle_helper.LocatorDM, mpl_toolkits.axisartist.angle_helper.LocatorDMS, mpl_toolkits.axisartist.angle_helper.LocatorH, mpl_toolkits.axisartist.angle_helper.LocatorHM, mpl_toolkits.axisartist.angle_helper.LocatorHMS, mpl_toolkits.axisartist.angle_helper.select_step, mpl_toolkits.axisartist.angle_helper.select_step24, mpl_toolkits.axisartist.angle_helper.select_step360, mpl_toolkits.axisartist.angle_helper.select_step_degree, mpl_toolkits.axisartist.angle_helper.select_step_hour, mpl_toolkits.axisartist.angle_helper.select_step_sub, mpl_toolkits.axisartist.axes_grid.AxesGrid, mpl_toolkits.axisartist.axes_grid.ImageGrid, mpl_toolkits.axisartist.axis_artist.AttributeCopier, mpl_toolkits.axisartist.axis_artist.AxisArtist, mpl_toolkits.axisartist.axis_artist.AxisLabel, mpl_toolkits.axisartist.axis_artist.GridlinesCollection, mpl_toolkits.axisartist.axis_artist.LabelBase, mpl_toolkits.axisartist.axis_artist.TickLabels, mpl_toolkits.axisartist.axis_artist.Ticks, mpl_toolkits.axisartist.axisline_style.AxislineStyle, mpl_toolkits.axisartist.axislines.AxesZero, mpl_toolkits.axisartist.axislines.AxisArtistHelper, mpl_toolkits.axisartist.axislines.AxisArtistHelperRectlinear, mpl_toolkits.axisartist.axislines.GridHelperBase, mpl_toolkits.axisartist.axislines.GridHelperRectlinear, mpl_toolkits.axisartist.axislines.Subplot, mpl_toolkits.axisartist.axislines.SubplotZero, mpl_toolkits.axisartist.floating_axes.ExtremeFinderFixed, mpl_toolkits.axisartist.floating_axes.FixedAxisArtistHelper, mpl_toolkits.axisartist.floating_axes.FloatingAxes, mpl_toolkits.axisartist.floating_axes.FloatingAxesBase, mpl_toolkits.axisartist.floating_axes.FloatingAxisArtistHelper, mpl_toolkits.axisartist.floating_axes.FloatingSubplot, mpl_toolkits.axisartist.floating_axes.GridHelperCurveLinear, mpl_toolkits.axisartist.floating_axes.floatingaxes_class_factory, mpl_toolkits.axisartist.grid_finder.DictFormatter, mpl_toolkits.axisartist.grid_finder.ExtremeFinderSimple, mpl_toolkits.axisartist.grid_finder.FixedLocator, mpl_toolkits.axisartist.grid_finder.FormatterPrettyPrint, mpl_toolkits.axisartist.grid_finder.GridFinder, mpl_toolkits.axisartist.grid_finder.MaxNLocator, mpl_toolkits.axisartist.grid_helper_curvelinear, mpl_toolkits.axisartist.grid_helper_curvelinear.FixedAxisArtistHelper, mpl_toolkits.axisartist.grid_helper_curvelinear.FloatingAxisArtistHelper, mpl_toolkits.axisartist.grid_helper_curvelinear.GridHelperCurveLinear.
matplotlib subplot remove axis