You can set the tick length to 0 using tick_params
(http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.tick_params):
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1],[1])
ax.tick_params(axis=u'both', which=u'both',length=0)
plt.show()
More Related Contents:
- How to draw a histogram from existing bin values
- How to put the legend outside the plot in Matplotlib
- import module from string variable
- Removing white space around a saved image
- Plotting dates on the x-axis with Python’s matplotlib
- Positioning the colorbar
- creating over 20 unique legend colors using matplotlib
- Text box with line wrapping in matplotlib?
- How to set opacity of background colour of graph with Matplotlib
- How to change data points color based on some variable
- How to obscure a line behind a surface plot in matplotlib?
- What does a 4-element tuple argument for ‘bbox_to_anchor’ mean in matplotlib?
- Python: How to show matplotlib in flask [duplicate]
- pandas 0.21.0 Timestamp compatibility issue with matplotlib
- Box around text in matplotlib
- Legend only shows one label when plotting with pandas
- Styling part of label in legend in matplotlib
- Matplotlib: how to show a figure that has been closed
- Matplotlib custom marker/symbol
- When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error?
- How to rotate matplotlib annotation to match a line?
- Matplotlib – adding subplots to a subplot?
- using mpatches.Patch for a custom legend
- Bold font weight for LaTeX axes label in matplotlib
- How to scale Seaborn’s y-axis with a bar plot
- Python scatter plot. Size and style of the marker
- python matplotlib: plotting in another process
- How can i make points of a python plot appear over time?
- Is it possible to add a string as a legend item
- How to add a footnote under the x-axis of a plot