Comments (9)
Hi, I also faced this issue, and I found another library,calplot, which says it's a fork of calmap with some fixes. It works for me.
from calmap.
@aliutkus until the author fixes this problem, you can open up the __init__.py
file (for me this is located in C:\Users"username"\anaconda3\site-packages\calmap" and CTRL+F search for ax.set_xticks
and replace the line with what @markryanandrews has suggested. I've just updated the line and it is working fine now.
from calmap.
Hi, if this problem still exists and you'd like to create a PR to fix it please direct it to https://github.com/MarvinT/calmap/
That is the version that gets published to pypi and has received several updates to fix some existing issues.
from calmap.
the line should be:
ax.set_xticks([by_day.loc[datetime.date(year, i + 1, 15)].week
ix is no longer used in pandas, loc will fix your problem
from calmap.
hi, ok, so I understand we cannot use calmap anymore ? is there a fix ?
from calmap.
@aliutkus until the author fixes this problem, you can open up the
__init__.py
file (for me this is located in C:\Users"username"\anaconda3\site-packages\calmap" and CTRL+F search forax.set_xticks
and replace the line with what @markryanandrews has suggested. I've just updated the line and it is working fine now.
for those who are not using anaconda, the address is like "C:\Users\username\AppData\Local\Programs\Python\Python38-32\Lib\site-packages"
from calmap.
Opened pull request #34 to fix, emailed @martijnvermaat to pull.
from calmap.
Resolved with the #34 merge, @martijnvermaat can mark this issue resolved/closed.
from calmap.
Thank you for creating the issue. Unfortunately I don't have the time to maintain this project. As per @MarvinT 's comment, please see https://github.com/MarvinT/calmap/ instead.
from calmap.
Related Issues (14)
- Does not work with tz-aware DatetimeIndex. HOT 4
- FutureWarning: how in .resample() is deprecated HOT 2
- Border between two continuous months & day numbers in cells HOT 4
- Deprecation warnings with Matplotlib 2.0.x HOT 10
- Color of year labels separate HOT 3
- Possibility to limit months HOT 2
- AttributeError: 'AxesSubplot' object has no attribute 'get_axis_bgcolor' HOT 1
- Bug with the 'sum' aggregation. HOT 3
- Cannot save calmap.calendarplot
- 'fillcolor' in calmap.calendarplot doesn't work right HOT 2
- Font is causing trouble in Linux cronjobs
- fillcolor does not fill days without data HOT 1
- How to add a colorbar legend next to a calmap.calendarplot? HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calmap.