Skip to content

Commit 7064d74

Browse files
authored
Merge pull request #682 from plotly/rm_email
remove support email from error messages
2 parents f60c65d + 85ac279 commit 7064d74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plotly/tools.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -386,17 +386,17 @@ def embed(file_owner_or_url, file_id=None, width="100%", height=525):
386386
else:
387387
if (get_config_defaults()['plotly_domain']
388388
!= session.get_session_config()['plotly_domain']):
389-
feedback_email = 'feedback@plot.ly'
389+
feedback_contact = 'Visit support.plot.ly'
390390
else:
391391

392392
# different domain likely means enterprise
393-
feedback_email = '[email protected]'
393+
feedback_contact = 'Contact your On-Premise account executive'
394394

395395
warnings.warn(
396396
"Looks like you're not using IPython or Sage to embed this "
397397
"plot. If you just want the *embed code*,\ntry using "
398398
"`get_embed()` instead."
399-
'\nQuestions? {}'.format(feedback_email))
399+
'\nQuestions? {}'.format(feedback_contact))
400400

401401

402402
### mpl-related tools ###
@@ -1393,7 +1393,7 @@ def return_figure_from_figure_or_data(figure_or_data, validate_figure):
13931393
raise exceptions.PlotlyEmptyDataError(
13941394
"Empty data list found. Make sure that you populated the "
13951395
"list of data objects you're sending and try again.\n"
1396-
"Questions? support@plot.ly"
1396+
"Questions? Visit support.plot.ly"
13971397
)
13981398

13991399
return figure

0 commit comments

Comments
 (0)