Skip to content

Commit cd259e5

Browse files
committed
Raises if default config of axis and scales are overriden
1 parent 3804219 commit cd259e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mplaltair/_axis.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,15 @@ def convert_axis(ax, chart):
3737
3838
Raises
3939
------
40+
NotImplementedError
41+
For various reasons
4042
4143
"""
44+
if chart.to_dict().get('config').get('axis'):
45+
raise NotImplementedError
46+
47+
if chart.to_dict().get('config').get('scale'):
48+
raise NotImplementedError
4249

4350
for enc_channel, enc_spec in chart.to_dict['encoding']:
4451
if enc_channel in ['x', 'y']:

0 commit comments

Comments
 (0)