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:
- Scatter plots in Pandas/Pyplot: How to plot by category [duplicate]
- Pandas timeseries plot setting x-axis major and minor ticks and labels
- Improve subplot size/spacing with many subplots in matplotlib
- How to draw intersecting planes?
- Horizontal stacked bar plot and add labels to each section
- How to use a (random) *.otf or *.ttf font in matplotlib?
- How to change spacing between ticks in matplotlib?
- Wrapping long y labels in matplotlib tight layout using setp
- Change tick frequency on X (time, not number) frequency in matplotlib
- Add margin when plots run against the edge of the graph
- Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized
- how to annotate heatmap with text in matplotlib
- 2D and 3D Scatter Histograms from arrays in Python
- Seaborn Catplot set values over the bars
- Matplotlib figure facecolor (background color)
- Is there a matplotlib flowable for ReportLab?
- No outlines on bins of Matplotlib histograms or Seaborn distplots
- Format of datetime in pyplot axis
- Combining two matplotlib colormaps
- Add cylinder to plot
- How to do a scatter plot with empty circles in Python?
- Image is not displaying in Google Colab while using imshow()
- heatmap-like plot, but for categorical variables in seaborn
- Plotting time on the independent axis
- Color a scatter plot by Column Values
- Adding a matplotlib legend
- How do I change the range of the x-axis with datetime?
- How to place inline labels in a line plot
- yaxis range display using absolute values rather than offset values
- How to create 3D scatter animations