Skip to content

Commit

Permalink
minor edit to warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
dorisjlee committed Mar 24, 2021
1 parent ccf6f2b commit caa9d15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lux/vislib/matplotlib/MatplotlibRenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ def create_vis(self, vis, standalone=True):
elif vis.mark == "heatmap":
chart = Heatmap(vis, fig, ax)
elif vis.mark == "geographical":

warnings.formatwarning = lux.warning_format
warnings.warn(
" Choropleths ('Geographical' tab) are rendered using Altair. If you would like Matplotlib support for Choropleths, please express so on https://github.com/lux-org/lux/issues/310."
"The map visualizations from the 'Geographical' tab are rendered using Altair. Lux does not currently support geographical maps with Matplotlib. If you would like this feature, please leave us a comment at issue #310 (https://github.com/lux-org/lux/issues/310) to let us know!"
)
return AltairRenderer().create_vis(vis, False)
else:
Expand Down

0 comments on commit caa9d15

Please sign in to comment.