Closed pythonic2020 closed 3 years ago
These matplotlib commands will show the ticks,
ax.tick_params(length=4, which='major')
ax.tick_params(length=2, which='minor')
but I just found that jtplot.style(ticks=True) must be used to show ticks. Strange that the default behavior is not to show ticks. So, never mind.
Using this setup:
plot axis ticks are not showing on matplotlib plots, either major or minor ticks. Is anyone else seeing this? It makes no difference if I remove the context, fscale, or gridlines params from the jtplot.style() call. The above applies to onedork and solarizedd themes.
The ticks show normally using matplotlib styles (e.g. ggplot).
ggplot in notebook:
The issue can be checked using this matplotlib code from
Major and minor ticks
pd.show_versions():
INSTALLED VERSIONS
commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.7.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 26 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None
pandas : 1.1.1 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.6.0.post20200814 Cython : None pytest : None hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.1 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None